Sha256: 3ed2642eebe57645091b4f5d01f2ac7773286dcdf915541fa9f25848ae939b92

Contents?: true

Size: 677 Bytes

Versions: 154

Compression:

Stored size: 677 Bytes

Contents

// Clock stub file

// To use the right term, this is the package *clause*.
// You can document general stuff about the package here if you like.
package clock

// The value of testVersion here must match `targetTestVersion` in the file
// clock_test.go.
const testVersion = 4

// Clock API as stub definitions.  No, it doesn't compile yet.
// More details and hints are in clock_test.go.

type Clock // Complete the type definition.  Pick a suitable data type.

func New(hour, minute int) Clock {
}

func (Clock) String() string {
}

func (Clock) Add(minutes int) Clock {
}

// Remember to delete all of the stub comments.
// They are just noise, and reviewers will complain.

Version data entries

154 entries across 154 versions & 1 rubygems

Version Path
trackler-2.0.8.54 tracks/go/exercises/clock/clock.go
trackler-2.0.8.53 tracks/go/exercises/clock/clock.go
trackler-2.0.8.52 tracks/go/exercises/clock/clock.go
trackler-2.0.8.51 tracks/go/exercises/clock/clock.go
trackler-2.0.8.50 tracks/go/exercises/clock/clock.go
trackler-2.0.8.49 tracks/go/exercises/clock/clock.go
trackler-2.0.8.48 tracks/go/exercises/clock/clock.go
trackler-2.0.8.47 tracks/go/exercises/clock/clock.go
trackler-2.0.8.46 tracks/go/exercises/clock/clock.go
trackler-2.0.8.45 tracks/go/exercises/clock/clock.go
trackler-2.0.8.44 tracks/go/exercises/clock/clock.go
trackler-2.0.8.43 tracks/go/exercises/clock/clock.go
trackler-2.0.8.42 tracks/go/exercises/clock/clock.go
trackler-2.0.8.41 tracks/go/exercises/clock/clock.go
trackler-2.0.8.40 tracks/go/exercises/clock/clock.go
trackler-2.0.8.39 tracks/go/exercises/clock/clock.go
trackler-2.0.8.38 tracks/go/exercises/clock/clock.go
trackler-2.0.8.37 tracks/go/exercises/clock/clock.go
trackler-2.0.8.36 tracks/go/exercises/clock/clock.go
trackler-2.0.8.35 tracks/go/exercises/clock/clock.go