mirror of
https://github.com/APIParkLab/APIPark.git
synced 2026-06-14 20:41:15 +08:00
update remark
This commit is contained in:
@@ -9,6 +9,7 @@ type Kind int
|
||||
|
||||
func (k *Kind) UnmarshalJSON(bytes []byte) error {
|
||||
str := ""
|
||||
|
||||
err := json.Unmarshal(bytes, &str)
|
||||
if err != nil {
|
||||
return err
|
||||
|
||||
Reference in New Issue
Block a user