diff --git a/parser_test.go b/parser_test.go index 6d15f41..d81f4b2 100644 --- a/parser_test.go +++ b/parser_test.go @@ -29,7 +29,7 @@ func (tt *Toutiao) ToDoParser(adstring string) (string, error) { log.Println(adstring) adstring = strconv.QuoteToASCII(adstring) - var adlist []interface{} + var adlist []string if err := json.Unmarshal([]byte(adstring), &adlist); err != nil { log.Println(err) }