Commit 9850319d authored by watermelo's avatar watermelo

Add: license checker

parent 4f0a9de6
......@@ -13,6 +13,7 @@ install: true
script:
- go fmt ./... && [[ -z `git status -s` ]]
- /tmp/tools/license/license-header-checker -v -a -r -i vendor /tmp/tools/license/license.txt . go && [[ -z `git status -s` ]]
- go mod vendor && go test $(go list ./... | grep -v vendor | grep -v demo) -coverprofile=coverage.txt -covermode=atomic
after_success:
......
......@@ -100,7 +100,7 @@ const (
)
/////////////////////////////////////////
// connection interface
// connection
/////////////////////////////////////////
type Connection interface {
......@@ -129,7 +129,7 @@ type Connection interface {
}
/////////////////////////////////////////
// Session interface
// Session
/////////////////////////////////////////
var (
......@@ -175,7 +175,7 @@ type Session interface {
}
/////////////////////////////////////////
// EndPoint interface
// EndPoint
/////////////////////////////////////////
type EndPoint interface {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment