diff --git a/data/user_workspaces/admin/src/hello/main.go b/data/user_workspaces/admin/src/hello/main.go new file mode 100644 index 0000000..831387c --- /dev/null +++ b/data/user_workspaces/admin/src/hello/main.go @@ -0,0 +1,27 @@ +package main + +import ( + "go/ast" + "go/parser" + "go/token" +) + +func main() { + // src is the input for which we want to print the AST. + src := ` +package main +func main() {f +} +` + + // Create the AST by parsing src. + fset := token.NewFileSet() // positions are relative to fset + f, err := parser.ParseFile(fset, "", src, 0) + if err != nil { + panic(err) + } + + // Print the AST. + ast.Print(fset, f) + +} diff --git a/data/user_workspaces/admin/src/hello/main1.go b/data/user_workspaces/admin/src/hello/main1.go new file mode 100644 index 0000000..4b8553a --- /dev/null +++ b/data/user_workspaces/admin/src/hello/main1.go @@ -0,0 +1,9 @@ +package main + +import ( + "fmt" +) + +func main() { + fmt.Println("Hello, 世界") +} diff --git a/data/user_workspaces/admin/src/hello/main10.go b/data/user_workspaces/admin/src/hello/main10.go new file mode 100644 index 0000000..4b8553a --- /dev/null +++ b/data/user_workspaces/admin/src/hello/main10.go @@ -0,0 +1,9 @@ +package main + +import ( + "fmt" +) + +func main() { + fmt.Println("Hello, 世界") +} diff --git a/data/user_workspaces/admin/src/hello/main11.go b/data/user_workspaces/admin/src/hello/main11.go new file mode 100644 index 0000000..ae3e566 --- /dev/null +++ b/data/user_workspaces/admin/src/hello/main11.go @@ -0,0 +1,9 @@ +package main + +import ( + "fmt" +) + +func main() { + fmt.Println("Hello, 世界")1 +} diff --git a/data/user_workspaces/admin/src/hello/main12.go b/data/user_workspaces/admin/src/hello/main12.go new file mode 100644 index 0000000..ae3e566 --- /dev/null +++ b/data/user_workspaces/admin/src/hello/main12.go @@ -0,0 +1,9 @@ +package main + +import ( + "fmt" +) + +func main() { + fmt.Println("Hello, 世界")1 +} diff --git a/data/user_workspaces/admin/src/hello/main2.go b/data/user_workspaces/admin/src/hello/main2.go new file mode 100644 index 0000000..ae3e566 --- /dev/null +++ b/data/user_workspaces/admin/src/hello/main2.go @@ -0,0 +1,9 @@ +package main + +import ( + "fmt" +) + +func main() { + fmt.Println("Hello, 世界")1 +} diff --git a/data/user_workspaces/admin/src/hello/main3.go b/data/user_workspaces/admin/src/hello/main3.go new file mode 100644 index 0000000..ae3e566 --- /dev/null +++ b/data/user_workspaces/admin/src/hello/main3.go @@ -0,0 +1,9 @@ +package main + +import ( + "fmt" +) + +func main() { + fmt.Println("Hello, 世界")1 +} diff --git a/data/user_workspaces/admin/src/hello/main4.go b/data/user_workspaces/admin/src/hello/main4.go new file mode 100644 index 0000000..ae3e566 --- /dev/null +++ b/data/user_workspaces/admin/src/hello/main4.go @@ -0,0 +1,9 @@ +package main + +import ( + "fmt" +) + +func main() { + fmt.Println("Hello, 世界")1 +} diff --git a/data/user_workspaces/admin/src/hello/main5.go b/data/user_workspaces/admin/src/hello/main5.go new file mode 100644 index 0000000..ae3e566 --- /dev/null +++ b/data/user_workspaces/admin/src/hello/main5.go @@ -0,0 +1,9 @@ +package main + +import ( + "fmt" +) + +func main() { + fmt.Println("Hello, 世界")1 +} diff --git a/data/user_workspaces/admin/src/hello/main6.go b/data/user_workspaces/admin/src/hello/main6.go new file mode 100644 index 0000000..ae3e566 --- /dev/null +++ b/data/user_workspaces/admin/src/hello/main6.go @@ -0,0 +1,9 @@ +package main + +import ( + "fmt" +) + +func main() { + fmt.Println("Hello, 世界")1 +} diff --git a/data/user_workspaces/admin/src/hello/main7.go b/data/user_workspaces/admin/src/hello/main7.go new file mode 100644 index 0000000..ae3e566 --- /dev/null +++ b/data/user_workspaces/admin/src/hello/main7.go @@ -0,0 +1,9 @@ +package main + +import ( + "fmt" +) + +func main() { + fmt.Println("Hello, 世界")1 +} diff --git a/data/user_workspaces/admin/src/hello/main8.go b/data/user_workspaces/admin/src/hello/main8.go new file mode 100644 index 0000000..ae3e566 --- /dev/null +++ b/data/user_workspaces/admin/src/hello/main8.go @@ -0,0 +1,9 @@ +package main + +import ( + "fmt" +) + +func main() { + fmt.Println("Hello, 世界")1 +} diff --git a/data/user_workspaces/admin/src/hello/main9.go b/data/user_workspaces/admin/src/hello/main9.go new file mode 100644 index 0000000..4b8553a --- /dev/null +++ b/data/user_workspaces/admin/src/hello/main9.go @@ -0,0 +1,9 @@ +package main + +import ( + "fmt" +) + +func main() { + fmt.Println("Hello, 世界") +} diff --git a/data/user_workspaces/admin/src/hello/test.png b/data/user_workspaces/admin/src/hello/test.png new file mode 100644 index 0000000..c2289f5 Binary files /dev/null and b/data/user_workspaces/admin/src/hello/test.png differ diff --git a/data/workspace/src/hello/main.go b/data/workspace/src/hello/main.go new file mode 100644 index 0000000..831387c --- /dev/null +++ b/data/workspace/src/hello/main.go @@ -0,0 +1,27 @@ +package main + +import ( + "go/ast" + "go/parser" + "go/token" +) + +func main() { + // src is the input for which we want to print the AST. + src := ` +package main +func main() {f +} +` + + // Create the AST by parsing src. + fset := token.NewFileSet() // positions are relative to fset + f, err := parser.ParseFile(fset, "", src, 0) + if err != nil { + panic(err) + } + + // Print the AST. + ast.Print(fset, f) + +} diff --git a/data/workspace/src/hello/main1.go b/data/workspace/src/hello/main1.go new file mode 100644 index 0000000..4b8553a --- /dev/null +++ b/data/workspace/src/hello/main1.go @@ -0,0 +1,9 @@ +package main + +import ( + "fmt" +) + +func main() { + fmt.Println("Hello, 世界") +} diff --git a/data/workspace/src/hello/main10.go b/data/workspace/src/hello/main10.go new file mode 100644 index 0000000..4b8553a --- /dev/null +++ b/data/workspace/src/hello/main10.go @@ -0,0 +1,9 @@ +package main + +import ( + "fmt" +) + +func main() { + fmt.Println("Hello, 世界") +} diff --git a/data/workspace/src/hello/main11.go b/data/workspace/src/hello/main11.go new file mode 100644 index 0000000..ae3e566 --- /dev/null +++ b/data/workspace/src/hello/main11.go @@ -0,0 +1,9 @@ +package main + +import ( + "fmt" +) + +func main() { + fmt.Println("Hello, 世界")1 +} diff --git a/data/workspace/src/hello/main12.go b/data/workspace/src/hello/main12.go new file mode 100644 index 0000000..ae3e566 --- /dev/null +++ b/data/workspace/src/hello/main12.go @@ -0,0 +1,9 @@ +package main + +import ( + "fmt" +) + +func main() { + fmt.Println("Hello, 世界")1 +} diff --git a/data/workspace/src/hello/main2.go b/data/workspace/src/hello/main2.go new file mode 100644 index 0000000..ae3e566 --- /dev/null +++ b/data/workspace/src/hello/main2.go @@ -0,0 +1,9 @@ +package main + +import ( + "fmt" +) + +func main() { + fmt.Println("Hello, 世界")1 +} diff --git a/data/workspace/src/hello/main3.go b/data/workspace/src/hello/main3.go new file mode 100644 index 0000000..ae3e566 --- /dev/null +++ b/data/workspace/src/hello/main3.go @@ -0,0 +1,9 @@ +package main + +import ( + "fmt" +) + +func main() { + fmt.Println("Hello, 世界")1 +} diff --git a/data/workspace/src/hello/main4.go b/data/workspace/src/hello/main4.go new file mode 100644 index 0000000..ae3e566 --- /dev/null +++ b/data/workspace/src/hello/main4.go @@ -0,0 +1,9 @@ +package main + +import ( + "fmt" +) + +func main() { + fmt.Println("Hello, 世界")1 +} diff --git a/data/workspace/src/hello/main5.go b/data/workspace/src/hello/main5.go new file mode 100644 index 0000000..ae3e566 --- /dev/null +++ b/data/workspace/src/hello/main5.go @@ -0,0 +1,9 @@ +package main + +import ( + "fmt" +) + +func main() { + fmt.Println("Hello, 世界")1 +} diff --git a/data/workspace/src/hello/main6.go b/data/workspace/src/hello/main6.go new file mode 100644 index 0000000..ae3e566 --- /dev/null +++ b/data/workspace/src/hello/main6.go @@ -0,0 +1,9 @@ +package main + +import ( + "fmt" +) + +func main() { + fmt.Println("Hello, 世界")1 +} diff --git a/data/workspace/src/hello/main7.go b/data/workspace/src/hello/main7.go new file mode 100644 index 0000000..ae3e566 --- /dev/null +++ b/data/workspace/src/hello/main7.go @@ -0,0 +1,9 @@ +package main + +import ( + "fmt" +) + +func main() { + fmt.Println("Hello, 世界")1 +} diff --git a/data/workspace/src/hello/main8.go b/data/workspace/src/hello/main8.go new file mode 100644 index 0000000..ae3e566 --- /dev/null +++ b/data/workspace/src/hello/main8.go @@ -0,0 +1,9 @@ +package main + +import ( + "fmt" +) + +func main() { + fmt.Println("Hello, 世界")1 +} diff --git a/data/workspace/src/hello/main9.go b/data/workspace/src/hello/main9.go new file mode 100644 index 0000000..4b8553a --- /dev/null +++ b/data/workspace/src/hello/main9.go @@ -0,0 +1,9 @@ +package main + +import ( + "fmt" +) + +func main() { + fmt.Println("Hello, 世界") +} diff --git a/data/workspace/src/hello/test.png b/data/workspace/src/hello/test.png new file mode 100644 index 0000000..c2289f5 Binary files /dev/null and b/data/workspace/src/hello/test.png differ