Fix Go format

This commit is contained in:
Victor Timofei 2022-07-29 21:54:01 +03:00
parent 14e763c65a
commit 256f79a099
Signed by: vtimofei
GPG Key ID: B790DCEBE281403A
1 changed files with 17 additions and 15 deletions

View File

@ -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()