bump version number
This commit is contained in:
parent
c0e3bc69d4
commit
c8830ec7b3
3
main.go
3
main.go
@ -20,6 +20,7 @@ import (
|
|||||||
const (
|
const (
|
||||||
defaultPort = 8585
|
defaultPort = 8585
|
||||||
defaulStoreDir = "./store"
|
defaulStoreDir = "./store"
|
||||||
|
version = "0.1.0"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
@ -45,6 +46,8 @@ var (
|
|||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
log.Info().Str("version", version).Msg("")
|
||||||
|
|
||||||
ctx, fnCancel := signal.NotifyContext(context.Background(), os.Kill, os.Interrupt)
|
ctx, fnCancel := signal.NotifyContext(context.Background(), os.Kill, os.Interrupt)
|
||||||
defer fnCancel()
|
defer fnCancel()
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user