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