18 lines
258 B
Go
18 lines
258 B
Go
|
package main
|
||
|
|
||
|
import (
|
||
|
"fmt"
|
||
|
|
||
|
"go.balki.me/tss/log"
|
||
|
"go.uber.org/zap"
|
||
|
)
|
||
|
|
||
|
func main() {
|
||
|
fmt.Println("vim-go")
|
||
|
log.Info("does this work", "trycount", 1)
|
||
|
// fmt.Sprint("ldskfjdsice")
|
||
|
s := zap.S()
|
||
|
s.Warnw("How does this look", "trycount", 2)
|
||
|
s.Sync()
|
||
|
}
|