From 8f57ca92bddf8c6a003ee91e737dffad288b8b90 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Fri, 29 Jan 2021 19:14:27 +0200 Subject: chore(3p|nix): Remove typed Go Nobody has actually done any experimentation with typed Go, so we're getting rid of it for now - it's causing annoying IFD during build graph generation. Change-Id: Ibac3dea98ebed1b3ee08acda184d24c500cf695d Reviewed-on: https://cl.tvl.fyi/c/depot/+/2458 Tested-by: BuildkiteCI Reviewed-by: sterni Reviewed-by: lukegb Reviewed-by: Profpatsch --- nix/buildTypedGo/example/default.nix | 8 -------- nix/buildTypedGo/example/main.go2 | 15 --------------- 2 files changed, 23 deletions(-) delete mode 100644 nix/buildTypedGo/example/default.nix delete mode 100644 nix/buildTypedGo/example/main.go2 (limited to 'nix/buildTypedGo/example') 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"}) -} -- cgit 1.4.1