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

Loading…
Cancel
Save