feat: project scaffold, version command, build
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
package version
|
||||
|
||||
import "testing"
|
||||
|
||||
func TestStringIsSemver(t *testing.T) {
|
||||
if String == "" {
|
||||
t.Fatal("version.String must not be empty")
|
||||
}
|
||||
if String[0] != 'v' {
|
||||
t.Fatalf("version %q must start with 'v'", String)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user