diff options
author | Florian Klink <flokli@flokli.de> | 2022-12-26T11·25+0100 |
---|---|---|
committer | flokli <flokli@flokli.de> | 2022-12-26T11·38+0000 |
commit | 54642c822d2ba0093aec4ac619fe6f84ca3ffeec (patch) | |
tree | 5c93d931224cc41c2915f157d02babb352d9dec5 /nix/buildGo/example | |
parent | a91e6334ffaece882131bcdfd740772de2c2aca3 (diff) |
chore(nix/buildGo): drop thing.proto from example r/5497
This was missed from cl/7536. Change-Id: I12c12bf91bad00c30bb63518d65c320a61cbf442 Reviewed-on: https://cl.tvl.fyi/c/depot/+/7641 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su>
Diffstat (limited to 'nix/buildGo/example')
-rw-r--r-- | nix/buildGo/example/default.nix | 8 | ||||
-rw-r--r-- | nix/buildGo/example/thing.proto | 10 |
2 files changed, 0 insertions, 18 deletions
diff --git a/nix/buildGo/example/default.nix b/nix/buildGo/example/default.nix index 08da075e1818..6756bf39e20b 100644 --- a/nix/buildGo/example/default.nix +++ b/nix/buildGo/example/default.nix @@ -19,13 +19,6 @@ let ]; }; - # Example use of buildGo.proto, which generates a Go library from a - # Protobuf definition file. - exampleProto = buildGo.proto { - name = "exampleproto"; - proto = ./thing.proto; - }; - # Example use of buildGo.program, which builds an executable using # the specified name and dependencies (which in turn must have been # created via buildGo.package etc.) @@ -39,7 +32,6 @@ buildGo.program { deps = [ examplePackage - exampleProto ]; x_defs = { diff --git a/nix/buildGo/example/thing.proto b/nix/buildGo/example/thing.proto deleted file mode 100644 index 0f6d6575e008..000000000000 --- a/nix/buildGo/example/thing.proto +++ /dev/null @@ -1,10 +0,0 @@ -// Copyright 2019 Google LLC. -// SPDX-License-Identifier: Apache-2.0 - -syntax = "proto3"; -package example; - -message Thing { - string id = 1; - string kind_of_thing = 2; -} |