package tribally import ( "fmt" "github.com/stretchr/testify/require" "testing" ) const ( apiKey = "088847b7172bdffa1eb564a581bcf903" ) func TestBindTribally(t *testing.T) { url, err := BindTribally(apiKey, "lhj168os@gmail.com") require.Nil(t, err) fmt.Println(url) } func TestPostUserChapter(t *testing.T) { err := PostUserChapter(apiKey, UserChapter{ Email: "lhj168os@gmail.com", Chapter: 3, }) require.Nil(t, err) }