change relationTyp out string describe

pull/391/head
Michael Li 1 year ago
parent ba40775da9
commit 4b3292f9ad
No known key found for this signature in database

@ -5,7 +5,7 @@
package cs
const (
RelationUnknow RelationTyp = iota
RelationUnknown RelationTyp = iota
RelationSelf
RelationFriend
RelationFollower
@ -51,9 +51,9 @@ func (t RelationTyp) String() string {
return "following"
case RelationAdmin:
return "admin"
case RelationUnknow:
case RelationUnknown:
fallthrough
default:
return "unknow relation"
return "unknown"
}
}

Loading…
Cancel
Save