// newFollowerService returns a new FollowerService. func newFollowerService(sling *sling.Sling) *FollowerService { return &FollowerService{ sling: sling.Path("followers/"), } }
func newGroupService(sling *sling.Sling) *GroupService { return &GroupService{ sling: sling.Path("group/"), } }
// newUserService returns a new UserService. func newUserService(sling *sling.Sling) *UserService { return &UserService{ sling: sling.Path("users/"), } }
// newAccountService returns a new AccountService. func newAccountService(sling *sling.Sling) *AccountService { return &AccountService{ sling: sling.Path("account/"), } }
func newAuthService(sling *sling.Sling) *AuthService { return &AuthService{ sling: sling.Path("auth/"), } }
// newTimelineService returns a new TimelineService. func newTimelineService(sling *sling.Sling) *TimelineService { return &TimelineService{ sling: sling.Path("statuses/"), } }
// newStatusService returns a new StatusService. func newStatusService(sling *sling.Sling) *StatusService { return &StatusService{ sling: sling.Path("statuses/"), } }
// newDirectMessageService returns a new StatusService. func newDirectMessageService(sling *sling.Sling) *DirectMessageService { return &DirectMessageService{ baseSling: sling.New(), sling: sling.Path("direct_messages/"), } }
// NewUserService return a new UserService func NewUserService(sling *sling.Sling) *UserService { return &UserService{ sling: sling.Path(""), } }
func newStoreService(sling *sling.Sling) *StoreService { return &StoreService{ sling: sling.Path("store"), } }
// NewObjectService returns a new ObjectService func NewObjectService(sling *sling.Sling) *ObjectService { return &ObjectService{ sling: sling.Path("classes/"), } }
func newSchemaService(sling *sling.Sling) *SchemaService { return &SchemaService{ sling: sling.Path("schemas"), } }