Reformating code (w/ gofmt)
This commit is contained in:
+4
-4
@@ -1,11 +1,11 @@
|
|||||||
package noid
|
package noid
|
||||||
|
|
||||||
type Counter struct {
|
type Counter struct {
|
||||||
top int
|
top int
|
||||||
value int
|
value int
|
||||||
}
|
}
|
||||||
|
|
||||||
func NewCounter(top, value int) *Counter {
|
func NewCounter(top, value int) *Counter {
|
||||||
c := Counter{top: top, value: value}
|
c := Counter{top: top, value: value}
|
||||||
return &c
|
return &c
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user