diff options
author | Vincent Ambo <tazjin@google.com> | 2019-11-27T15·47+0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-27T15·47+0000 |
commit | 9d6792609f0de0c3c9209f300756024f8c3524da (patch) | |
tree | 5074383f42d4ec838a96834729ee6bd7deb90058 /tools/gotest/lib.go | |
parent | ae53bf30c3306eeb56731e6e7aefc2bab278c6e0 (diff) | |
parent | 0bd085f5d6602ab75689156b92af04e7f83d69fd (diff) |
Merge pull request #10 from tazjin/feat/buildGo-dot-nix r/96
Introduce Bazel-style Nix build system for Go
Diffstat (limited to 'tools/gotest/lib.go')
-rw-r--r-- | tools/gotest/lib.go | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tools/gotest/lib.go b/tools/gotest/lib.go new file mode 100644 index 000000000000..0aeebb2aea69 --- /dev/null +++ b/tools/gotest/lib.go @@ -0,0 +1,11 @@ +package somelib + +import "fmt" + +func Name() string { + return "edef" +} + +func Greet(s string) string { + return fmt.Sprintf("Hello %s", s) +} |