mirror of
https://github.com/guonaihong/gout
synced 2025-12-24 12:58:00 +08:00
2
Makefile
2
Makefile
@@ -1,4 +1,4 @@
|
||||
GO ?= go
|
||||
GO ?= env CGO_ENABLED=0 go
|
||||
|
||||
TESTFOLDER := $(shell $(GO) list ./... | grep -v from-xxx-to-gout-doc|grep -v testdata)
|
||||
|
||||
|
||||
3
version.go
Normal file
3
version.go
Normal file
@@ -0,0 +1,3 @@
|
||||
package gout
|
||||
|
||||
const Version = "v0.0.5-dev-2019-12-09"
|
||||
10
version_test.go
Normal file
10
version_test.go
Normal file
@@ -0,0 +1,10 @@
|
||||
package gout
|
||||
|
||||
import (
|
||||
"github.com/stretchr/testify/assert"
|
||||
"testing"
|
||||
)
|
||||
|
||||
func Test_Version(t *testing.T) {
|
||||
assert.NotEqual(t, len(Version), 0)
|
||||
}
|
||||
Reference in New Issue
Block a user