diff --git a/dtmsvr/storage/boltdb/boltdb.go b/dtmsvr/storage/boltdb/boltdb.go index e6b6b51..e744b6e 100644 --- a/dtmsvr/storage/boltdb/boltdb.go +++ b/dtmsvr/storage/boltdb/boltdb.go @@ -4,6 +4,7 @@ * license that can be found in the LICENSE file. */ +// package boltdb implement the storage for boltdb package boltdb import ( diff --git a/dtmsvr/storage/redis/redis.go b/dtmsvr/storage/redis/redis.go index 090ab59..6f4d732 100644 --- a/dtmsvr/storage/redis/redis.go +++ b/dtmsvr/storage/redis/redis.go @@ -4,6 +4,7 @@ * license that can be found in the LICENSE file. */ +// package reds implement the storage for reds package redis import ( diff --git a/dtmsvr/storage/sql/sql.go b/dtmsvr/storage/sql/sql.go index 28f9c9c..3f94896 100644 --- a/dtmsvr/storage/sql/sql.go +++ b/dtmsvr/storage/sql/sql.go @@ -4,6 +4,7 @@ * license that can be found in the LICENSE file. */ +// package boltdb implement the storage for sql database package sql import ( diff --git a/helper/golint.sh b/helper/golint.sh index 71f1817..78fd29f 100644 --- a/helper/golint.sh +++ b/helper/golint.sh @@ -1,4 +1,4 @@ set -x -curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.46.2 +curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.53.3 $(go env GOPATH)/bin/golangci-lint run diff --git a/main.go b/main.go index 645031f..75119dd 100644 --- a/main.go +++ b/main.go @@ -4,6 +4,7 @@ * license that can be found in the LICENSE file. */ +// package main is the entry of dtm server package main import (