// FromFullToken extracts token value and user's ID from the combined token
// form.
FromFullToken extracts token value and user's ID from the combined token
form.
// FromFullToken extracts token value and user ' s ID from the combined token // form .
func FromFullToken(t string) (string, xid.ID, error) {
	if len(t) < uniuri.StdLen+1 {
		return "", xid.ID{}, ErrInvalidToken
	}
	raw := t[:uniuri.StdLen]
	id, err := xid.FromString(t[uniuri.StdLen:])
	if id.IsNil() || err != nil {
		return "", xid.ID{}, ErrInvalidToken
	}
	return raw, id, nil
}
func FromFullToken ( t string ) ( string , xid . ID , error ) { if len ( t ) < uniuri . StdLen + 1 { return " " , xid . ID { } , ErrInvalidToken } raw := t [ : uniuri . StdLen ] id , err := xid . FromString ( t [ uniuri . StdLen : ] ) if id . IsNil ( ) || err != nil { return " " , xid . ID { } , ErrInvalidToken } return raw , id , nil }
FromFullToken extracts token value and user's ID from the combined token
form.
FromFullToken extracts token value and user ' s ID from the combined token form .