package mechanism_test import ( "testing" "gogs.uu.mdfitnesscao.com/cuiguohai/sdk/mechanism" ) func TestList(t *testing.T) { t.Run("test", func(t *testing.T) { response, err := mechanism.ListMechanism([]string{ "M57wVRNZ", }) list := response.Data.List if err != nil { t.Errorf("err: %v", err) } t.Logf("list: %d", len(list)) }) }