diff options
| author | Shulhan <ms@kilabit.info> | 2022-08-21 15:31:35 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2022-08-21 15:31:35 +0700 |
| commit | 767a4d54da5ea2b16b84df7d8f49c61f6ccb5753 (patch) | |
| tree | e8d838448400d156b77e1ab0a0d1dd1c7700a24e /example/example.go | |
| parent | e552bc26165e4413390c329113acd95abc6c78e5 (diff) | |
| download | gorankusu-767a4d54da5ea2b16b84df7d8f49c61f6ccb5753.tar.xz | |
all: remove trailing new line on each mlog format
The mlog functions automatically add new line to each format, so we
did not need to add it manually.
Diffstat (limited to 'example/example.go')
| -rw-r--r-- | example/example.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/example/example.go b/example/example.go index 04c94fa..0ec2bb8 100644 --- a/example/example.go +++ b/example/example.go @@ -106,7 +106,7 @@ func (ex *Example) Start() (err error) { go func() { err = ex.wsServer.Start() if err != nil { - mlog.Errf("example.Start: %s\n", err) + mlog.Errf(`example.Start: %s`, err) } }() |
