Fix Go format
This commit is contained in:
parent
14e763c65a
commit
256f79a099
6
main.go
6
main.go
|
@ -23,8 +23,10 @@ func callOnMeGo(n int) {
|
||||||
|
|
||||||
type Printer func(int)
|
type Printer func(int)
|
||||||
|
|
||||||
var printerCallback Printer
|
var (
|
||||||
var printerCallbackLock sync.RWMutex
|
printerCallback Printer
|
||||||
|
printerCallbackLock sync.RWMutex
|
||||||
|
)
|
||||||
|
|
||||||
func usePrinter(p Printer) {
|
func usePrinter(p Printer) {
|
||||||
printerCallbackLock.Lock()
|
printerCallbackLock.Lock()
|
||||||
|
|
Loading…
Reference in New Issue