diff --git a/solutions/go/two-fer/1/two_fer.go b/solutions/go/two-fer/1/two_fer.go new file mode 100644 index 0000000..f81f5ba --- /dev/null +++ b/solutions/go/two-fer/1/two_fer.go @@ -0,0 +1,14 @@ +// This is a "stub" file. It's a little start on your solution. +// It's not a complete solution though; you have to write some code. + +// Package twofer should have a package comment that summarizes what it's about. +// https://golang.org/doc/effective_go.html#commentary +package twofer + +// ShareWith should have a comment documenting it. +func ShareWith(name string) string { + if name == "" { + return "One for you, one for me." + } + return "One for " + name + ", one for me." +}