Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- My file hierarchy goes like:
- --api
- --storage
- --A
- --A.go
- --A_test.go
- --B
- --C
- --server
- --A
- --testData
- --A.sql
- --B.sql
- go test ./...
- db.Exec("SET FOREIGN_KEY_CHECKS = 0;")
- db.Exec("truncate " + table)
- db.Exec("SET FOREIGN_KEY_CHECKS = 1;")
- go test ./... -p 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement