Add unit test of API routes (#1528)
Showing
| ... | @@ -7,11 +7,14 @@ require ( | ... | @@ -7,11 +7,14 @@ require ( |
| github.com/gin-gonic/gin v1.9.1 | github.com/gin-gonic/gin v1.9.1 | ||
| github.com/olekukonko/tablewriter v0.0.5 | github.com/olekukonko/tablewriter v0.0.5 | ||
| github.com/spf13/cobra v1.7.0 | github.com/spf13/cobra v1.7.0 | ||
| github.com/stretchr/testify v1.8.3 | |||
| golang.org/x/sync v0.3.0 | golang.org/x/sync v0.3.0 | ||
| ) | ) | ||
| require ( | require ( | ||
| github.com/davecgh/go-spew v1.1.1 // indirect | |||
| github.com/mattn/go-runewidth v0.0.14 // indirect | github.com/mattn/go-runewidth v0.0.14 // indirect | ||
| github.com/pmezard/go-difflib v1.0.0 // indirect | |||
| github.com/rivo/uniseg v0.2.0 // indirect | github.com/rivo/uniseg v0.2.0 // indirect | ||
| ) | ) | ||
| ... | ... |
server/routes_test.go
0 → 100644
Please register or sign in to comment