Sha256: 77149367863d82098c1b0e2e0da42bfdbcca4a1c0a4699329dbe16c8af4f289d

Contents?: true

Size: 146 Bytes

Versions: 28

Compression:

Stored size: 146 Bytes

Contents

package hello

const testVersion = 2

func HelloWorld(name string) string {
	if name == "" {
		name = "World"
	}
	return "Hello, " + name + "!"
}

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
trackler-2.0.3.2 tracks/go/exercises/hello-world/example.go
trackler-2.0.3.1 tracks/go/exercises/hello-world/example.go
trackler-2.0.3.0 tracks/go/exercises/hello-world/example.go
trackler-2.0.2.0 tracks/go/exercises/hello-world/example.go
trackler-2.0.1.2 tracks/go/exercises/hello-world/example.go
trackler-2.0.1.1 tracks/go/exercises/hello-world/example.go
trackler-2.0.1.0 tracks/go/exercises/hello-world/example.go
trackler-2.0.0.10 tracks/go/exercises/hello-world/example.go
trackler-2.0.0.9 tracks/go/exercises/hello-world/example.go
trackler-2.0.0.8 tracks/go/exercises/hello-world/example.go
trackler-2.0.0.7 tracks/go/exercises/hello-world/example.go
trackler-2.0.0.6 tracks/go/exercises/hello-world/example.go
trackler-2.0.0.5 tracks/go/exercises/hello-world/example.go
trackler-2.0.0.4 tracks/go/exercises/hello-world/example.go
trackler-2.0.0.3 tracks/go/exercises/hello-world/example.go
trackler-2.0.0.2 tracks/go/exercises/hello-world/example.go
trackler-2.0.0.1 tracks/go/exercises/hello-world/example.go
trackler-2.0.0.0 tracks/go/exercises/hello-world/example.go
trackler-1.0.4.1 tracks/go/exercises/hello-world/example.go
trackler-1.0.4.0 tracks/go/exercises/hello-world/example.go