Add Codedump

Description (Markdown supported)
Title or filename
Language
Codepackage main import ( "fmt" "io/ioutil" "log" "os" ) func main() { // Open file for reading file, err := os.Open("test.txt") if err != nil { log.Fatal(err) } data, err := ioutil.ReadAll(file) if err != nil { log.Fatal(err) } fmt.Print("Data as string: %s\n", data) }

Access