github.com/hungdoo/bot@v0.0.0-20240325145135-dd1f386f7b81/src/packages/command/bybitido/command_test.go (about) 1 package bybitido 2 3 import ( 4 "testing" 5 ) 6 7 func TestIdoCommand(t *testing.T) { 8 cmd := &IdoCommand{} 9 10 p, _ := cmd.Execute(true, "") 11 t.Log(p) 12 } 13 14 func TestIdoCommand_FetchAll(t *testing.T) { 15 cmd := &IdoCommand{} 16 17 a, _ := cmd.Execute(true, "all") 18 t.Log(a) 19 }