Browse Source

update some comments

pull/443/head
yedf2 3 years ago
parent
commit
237a5b01d7
  1. 1
      dtmsvr/storage/boltdb/boltdb.go
  2. 1
      dtmsvr/storage/redis/redis.go
  3. 1
      dtmsvr/storage/sql/sql.go
  4. 2
      helper/golint.sh
  5. 1
      main.go

1
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 (

1
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 (

1
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 (

2
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

1
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 (

Loading…
Cancel
Save