String returns a string of the snowflake ID
()
| 173 | |
| 174 | // String returns a string of the snowflake ID |
| 175 | func (f ID) String() string { |
| 176 | return strconv.FormatInt(int64(f), 10) |
| 177 | } |
| 178 | |
| 179 | // ParseString converts a string into a snowflake ID |
| 180 | func ParseString(id string) (ID, error) { |
no outgoing calls