精简后的项目:仅保留 api/ui 源码、文档、构建依赖
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
package flags
|
||||
|
||||
import "flag"
|
||||
|
||||
var (
|
||||
// Database enables database-integration tests when the `-database` flag is passed to `go test`.
|
||||
Database bool
|
||||
|
||||
// Filesystem enables filesystem-integration tests when the `-filesystem` flag is passed to `go test`.
|
||||
Filesystem bool
|
||||
)
|
||||
|
||||
func init() {
|
||||
flag.BoolVar(&Database, "database", false, "run database integration tests")
|
||||
flag.BoolVar(&Filesystem, "filesystem", false, "run filesystem integration tests")
|
||||
}
|
||||
Reference in New Issue
Block a user