exercism/go/paasio/paasio.go

27 lines
405 B
Go
Raw Normal View History

2016-11-30 03:28:40 +00:00
package paasio
const testVersion = 3
func NewWriteCounter() WriteCounter {
w := new(WriteCounter)
return w
}
func (w *WriteCounter) WriteCount() (int64, int) {
return 0, 0
}
func NewReadCounter() ReadCounter {
r := new(ReadCounter)
return r
}
func (r *ReadCounter) ReadCount() (int64, int) {
return 0, 0
}
func NewReadWriteCounter() *ReadWriteCounter {
r := new(ReadWriteCounter)
return r
}