Sha256: 9a1272165785035de3045d39caff3563d726ae5e5cb494ec426a41186f708a3e

Contents?: true

Size: 753 Bytes

Versions: 164

Compression:

Stored size: 753 Bytes

Contents

package twofer

import "fmt"

// ExampleShareWith() is an Example function. Examples are testable snippets of
// Go code that are used for documenting and verifying the package API.
// They may be present in some exercises to demonstrate the expected use of the
// exercise API and can be run as part of a package's test suite.
//
// When an Example test is run the data that is written to standard output is
// compared to the data that comes after the "Output: " comment.
//
// Below the result of ShareWith() is passed to standard output
// using fmt.Println, and this is compared against the expected output.
// If they are equal, the test passes.
func ExampleShareWith() {
	h := ShareWith("")
	fmt.Println(h)
	// Output: One for you, one for me.
}

Version data entries

164 entries across 164 versions & 1 rubygems

Version Path
trackler-2.2.1.78 tracks/go/exercises/two-fer/example_two_fer_test.go
trackler-2.2.1.77 tracks/go/exercises/two-fer/example_two_fer_test.go
trackler-2.2.1.76 tracks/go/exercises/two-fer/example_two_fer_test.go
trackler-2.2.1.75 tracks/go/exercises/two-fer/example_two_fer_test.go
trackler-2.2.1.74 tracks/go/exercises/two-fer/example_two_fer_test.go
trackler-2.2.1.73 tracks/go/exercises/two-fer/example_two_fer_test.go
trackler-2.2.1.72 tracks/go/exercises/two-fer/example_two_fer_test.go
trackler-2.2.1.71 tracks/go/exercises/two-fer/example_two_fer_test.go
trackler-2.2.1.70 tracks/go/exercises/two-fer/example_two_fer_test.go
trackler-2.2.1.69 tracks/go/exercises/two-fer/example_two_fer_test.go
trackler-2.2.1.68 tracks/go/exercises/two-fer/example_two_fer_test.go
trackler-2.2.1.67 tracks/go/exercises/two-fer/example_two_fer_test.go
trackler-2.2.1.66 tracks/go/exercises/two-fer/example_two_fer_test.go
trackler-2.2.1.65 tracks/go/exercises/two-fer/example_two_fer_test.go
trackler-2.2.1.64 tracks/go/exercises/two-fer/example_two_fer_test.go
trackler-2.2.1.63 tracks/go/exercises/two-fer/example_two_fer_test.go
trackler-2.2.1.62 tracks/go/exercises/two-fer/example_two_fer_test.go
trackler-2.2.1.61 tracks/go/exercises/two-fer/example_two_fer_test.go
trackler-2.2.1.60 tracks/go/exercises/two-fer/example_two_fer_test.go
trackler-2.2.1.59 tracks/go/exercises/two-fer/example_two_fer_test.go