Add unit test of API routes (#1528)

This commit is contained in:
Patrick Devine
2023-12-14 16:47:40 -08:00
committed by GitHub
parent 6e16098a60
commit 630518f0d9
4 changed files with 122 additions and 30 deletions

3
go.mod
View File

@@ -7,11 +7,14 @@ require (
github.com/gin-gonic/gin v1.9.1
github.com/olekukonko/tablewriter v0.0.5
github.com/spf13/cobra v1.7.0
github.com/stretchr/testify v1.8.3
golang.org/x/sync v0.3.0
)
require (
github.com/davecgh/go-spew v1.1.1 // 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
)