diff options
Diffstat (limited to 'nix/buildTypedGo/example')
-rw-r--r-- | nix/buildTypedGo/example/default.nix | 8 | ||||
-rw-r--r-- | nix/buildTypedGo/example/main.go2 | 15 |
2 files changed, 0 insertions, 23 deletions
diff --git a/nix/buildTypedGo/example/default.nix b/nix/buildTypedGo/example/default.nix deleted file mode 100644 index 5b6d4171f99c..000000000000 --- a/nix/buildTypedGo/example/default.nix +++ /dev/null @@ -1,8 +0,0 @@ -{ depot, ... }: - -depot.nix.buildTypedGo.program { - name = "example"; - srcs = [ - ./main.go2 - ]; -} diff --git a/nix/buildTypedGo/example/main.go2 b/nix/buildTypedGo/example/main.go2 deleted file mode 100644 index 8986f57b94c7..000000000000 --- a/nix/buildTypedGo/example/main.go2 +++ /dev/null @@ -1,15 +0,0 @@ -package main - -import ( - "fmt" -) - -func Print(type T)(s []T) { - for _, v := range s { - fmt.Print(v) - } -} - -func main() { - Print([]string{"Hello, ", "TVL\n"}) -} |