Versions in this module Expand all Collapse all v0 v0.0.2 Oct 18, 2025 Changes in this version + func Bool(b bool) param.Opt[bool] + func BoolPtr(v bool) *bool + func DefaultClientOptions() []option.RequestOption + func File(rdr io.Reader, filename string, contentType string) file + func Float(f float64) param.Opt[float64] + func FloatPtr(v float64) *float64 + func Int(i int64) param.Opt[int64] + func IntPtr(v int64) *int64 + func Opt[T comparable](v T) param.Opt[T] + func Ptr[T any](v T) *T + func String(s string) param.Opt[string] + func StringPtr(v string) *string + func Time(t time.Time) param.Opt[time.Time] + func TimePtr(v time.Time) *time.Time + type AuthEmailSendVerificationResponse struct + JSON struct{ ... } + Verify AuthEmailSendVerificationResponseVerify + func (r *AuthEmailSendVerificationResponse) UnmarshalJSON(data []byte) error + func (r AuthEmailSendVerificationResponse) RawJSON() string + type AuthEmailSendVerificationResponseVerify struct + JSON struct{ ... } + Success bool + func (r *AuthEmailSendVerificationResponseVerify) UnmarshalJSON(data []byte) error + func (r AuthEmailSendVerificationResponseVerify) RawJSON() string + type AuthEmailService struct + Options []option.RequestOption + func NewAuthEmailService(opts ...option.RequestOption) (r AuthEmailService) + func (r *AuthEmailService) SendVerification(ctx context.Context, opts ...option.RequestOption) (res *AuthEmailSendVerificationResponse, err error) + type AuthLoginParams struct + Email string + Password string + func (r *AuthLoginParams) UnmarshalJSON(data []byte) error + func (r AuthLoginParams) MarshalJSON() (data []byte, err error) + type AuthLoginResponse struct + JSON struct{ ... } + User AuthUser + func (r *AuthLoginResponse) UnmarshalJSON(data []byte) error + func (r AuthLoginResponse) RawJSON() string + type AuthService struct + Email AuthEmailService + Options []option.RequestOption + Setup AuthSetupService + func NewAuthService(opts ...option.RequestOption) (r AuthService) + func (r *AuthService) Login(ctx context.Context, body AuthLoginParams, opts ...option.RequestOption) (res *AuthLoginResponse, err error) + func (r *AuthService) Signup(ctx context.Context, body AuthSignupParams, opts ...option.RequestOption) (res *AuthSignupResponse, err error) + type AuthSetupGetResponse struct + IsSetup bool + JSON struct{ ... } + func (r *AuthSetupGetResponse) UnmarshalJSON(data []byte) error + func (r AuthSetupGetResponse) RawJSON() string + type AuthSetupNewParams struct + Email string + Name param.Opt[string] + Password string + SiteTitle param.Opt[string] + func (r *AuthSetupNewParams) UnmarshalJSON(data []byte) error + func (r AuthSetupNewParams) MarshalJSON() (data []byte, err error) + type AuthSetupNewResponse struct + JSON struct{ ... } + User AuthUser + func (r *AuthSetupNewResponse) UnmarshalJSON(data []byte) error + func (r AuthSetupNewResponse) RawJSON() string + type AuthSetupService struct + Options []option.RequestOption + func NewAuthSetupService(opts ...option.RequestOption) (r AuthSetupService) + func (r *AuthSetupService) Get(ctx context.Context, opts ...option.RequestOption) (res *AuthSetupGetResponse, err error) + func (r *AuthSetupService) New(ctx context.Context, body AuthSetupNewParams, opts ...option.RequestOption) (res *AuthSetupNewResponse, err error) + type AuthSignupParams struct + Email string + Password string + func (r *AuthSignupParams) UnmarshalJSON(data []byte) error + func (r AuthSignupParams) MarshalJSON() (data []byte, err error) + type AuthSignupResponse struct + JSON struct{ ... } + User AuthUser + func (r *AuthSignupResponse) UnmarshalJSON(data []byte) error + func (r AuthSignupResponse) RawJSON() string + type AuthUser struct + AuthToken string + Avatar string + Email string + JSON struct{ ... } + Name string + UserID string + Username string + func (r *AuthUser) UnmarshalJSON(data []byte) error + func (r AuthUser) RawJSON() string + type Board struct + BoardID string + Color string + CreatedAt string + JSON struct{ ... } + Name string + URL string + func (r *Board) UnmarshalJSON(data []byte) error + func (r Board) RawJSON() string + type BoardListParams struct + Created param.Opt[string] + Limit param.Opt[string] + Page param.Opt[string] + func (r BoardListParams) URLQuery() (v url.Values, err error) + type BoardListResponse struct + Boards []BoardListResponseBoard + JSON struct{ ... } + func (r *BoardListResponse) UnmarshalJSON(data []byte) error + func (r BoardListResponse) RawJSON() string + type BoardListResponseBoard struct + JSON struct{ ... } + PostCount string + func (r *BoardListResponseBoard) UnmarshalJSON(data []byte) error + func (r BoardListResponseBoard) RawJSON() string + type BoardService struct + Options []option.RequestOption + func NewBoardService(opts ...option.RequestOption) (r BoardService) + func (r *BoardService) List(ctx context.Context, query BoardListParams, opts ...option.RequestOption) (res *BoardListResponse, err error) + type Client struct + Auth AuthService + Boards BoardService + Options []option.RequestOption + Posts PostService + Roadmaps RoadmapService + Votes VoteService + func NewClient(opts ...option.RequestOption) (r Client) + func (r *Client) Delete(ctx context.Context, path string, params any, res any, ...) error + func (r *Client) Execute(ctx context.Context, method string, path string, params any, res any, ...) error + func (r *Client) Get(ctx context.Context, path string, params any, res any, ...) error + func (r *Client) Patch(ctx context.Context, path string, params any, res any, ...) error + func (r *Client) Post(ctx context.Context, path string, params any, res any, ...) error + func (r *Client) Put(ctx context.Context, path string, params any, res any, ...) error + type CurrentUserVote struct + CreatedAt string + JSON struct{ ... } + PostID string + UserID string + VoteID string + func (r *CurrentUserVote) UnmarshalJSON(data []byte) error + func (r CurrentUserVote) RawJSON() string + type Error = apierror.Error + type Post struct + Author PostAuthor + Board Board + ContentMarkdown string + CreatedAt string + JSON struct{ ... } + PostID string + Roadmap Roadmap + Slug string + Title string + UpdatedAt string + Voters PostVote + func (r *Post) UnmarshalJSON(data []byte) error + func (r Post) RawJSON() string + type PostAuthor struct + Avatar string + JSON struct{ ... } + Name string + UserID string + Username string + func (r *PostAuthor) UnmarshalJSON(data []byte) error + func (r PostAuthor) RawJSON() string + type PostDeleteParams struct + ID string + func (r *PostDeleteParams) UnmarshalJSON(data []byte) error + func (r PostDeleteParams) MarshalJSON() (data []byte, err error) + type PostGetBySlugParams struct + Slug string + UserID param.Opt[string] + func (r *PostGetBySlugParams) UnmarshalJSON(data []byte) error + func (r PostGetBySlugParams) MarshalJSON() (data []byte, err error) + type PostGetBySlugResponse struct + JSON struct{ ... } + Post PostGetBySlugResponsePost + func (r *PostGetBySlugResponse) UnmarshalJSON(data []byte) error + func (r PostGetBySlugResponse) RawJSON() string + type PostGetBySlugResponsePost struct + JSON struct{ ... } + SlugID string + func (r *PostGetBySlugResponsePost) UnmarshalJSON(data []byte) error + func (r PostGetBySlugResponsePost) RawJSON() string + type PostListParams struct + BoardID []string + Created string + Limit param.Opt[float64] + Page float64 + RoadmapID param.Opt[string] + UserID param.Opt[string] + func (r *PostListParams) UnmarshalJSON(data []byte) error + func (r PostListParams) MarshalJSON() (data []byte, err error) + type PostListResponse struct + JSON struct{ ... } + Posts []Post + func (r *PostListResponse) UnmarshalJSON(data []byte) error + func (r PostListResponse) RawJSON() string + type PostNewParams struct + BoardID param.Opt[string] + ContentMarkdown param.Opt[string] + RoadmapID param.Opt[string] + Title string + func (r *PostNewParams) UnmarshalJSON(data []byte) error + func (r PostNewParams) MarshalJSON() (data []byte, err error) + type PostNewResponse struct + JSON struct{ ... } + Post PostNewResponsePost + func (r *PostNewResponse) UnmarshalJSON(data []byte) error + func (r PostNewResponse) RawJSON() string + type PostNewResponsePost struct + BoardID string + ContentMarkdown string + CreatedAt string + JSON struct{ ... } + PostID string + RoadmapID string + Slug string + SlugID string + Title string + UpdatedAt string + UserID string + func (r *PostNewResponsePost) UnmarshalJSON(data []byte) error + func (r PostNewResponsePost) RawJSON() string + type PostService struct + Options []option.RequestOption + func NewPostService(opts ...option.RequestOption) (r PostService) + func (r *PostService) Delete(ctx context.Context, body PostDeleteParams, opts ...option.RequestOption) (err error) + func (r *PostService) GetBySlug(ctx context.Context, body PostGetBySlugParams, opts ...option.RequestOption) (res *PostGetBySlugResponse, err error) + func (r *PostService) List(ctx context.Context, body PostListParams, opts ...option.RequestOption) (res *PostListResponse, err error) + func (r *PostService) New(ctx context.Context, body PostNewParams, opts ...option.RequestOption) (res *PostNewResponse, err error) + func (r *PostService) Update(ctx context.Context, opts ...option.RequestOption) (err error) + type PostVote struct + JSON struct{ ... } + ViewerVote CurrentUserVote + Votes []PostVoteVote + VotesCount float64 + func (r *PostVote) UnmarshalJSON(data []byte) error + func (r PostVote) RawJSON() string + type PostVoteVote struct + Avatar string + JSON struct{ ... } + Name string + Username string + func (r *PostVoteVote) UnmarshalJSON(data []byte) error + func (r PostVoteVote) RawJSON() string + type Roadmap struct + Color any + ID any + JSON struct{ ... } + Name any + URL any + func (r *Roadmap) UnmarshalJSON(data []byte) error + func (r Roadmap) RawJSON() string + type RoadmapGetByURLResponse struct + JSON struct{ ... } + Roadmap Roadmap + func (r *RoadmapGetByURLResponse) UnmarshalJSON(data []byte) error + func (r RoadmapGetByURLResponse) RawJSON() string + type RoadmapListParams struct + After param.Opt[string] + First param.Opt[float64] + Visibility []string + func (r RoadmapListParams) URLQuery() (v url.Values, err error) + type RoadmapListResponse struct + JSON struct{ ... } + PageInfo RoadmapListResponsePageInfo + Results []RoadmapPrivate + Roadmaps []RoadmapPrivate + TotalCount int64 + TotalPages int64 + func (r *RoadmapListResponse) UnmarshalJSON(data []byte) error + func (r RoadmapListResponse) RawJSON() string + type RoadmapListResponsePageInfo struct + Count int64 + CurrentPage int64 + EndCursor string + HasNextPage bool + JSON struct{ ... } + StartCursor string + func (r *RoadmapListResponsePageInfo) UnmarshalJSON(data []byte) error + func (r RoadmapListResponsePageInfo) RawJSON() string + type RoadmapPrivate struct + CreatedAt string + Display bool + Index float64 + JSON struct{ ... } + func (r *RoadmapPrivate) UnmarshalJSON(data []byte) error + func (r RoadmapPrivate) RawJSON() string + type RoadmapSearchByNameResponse struct + JSON struct{ ... } + Roadmaps []RoadmapPrivate + func (r *RoadmapSearchByNameResponse) UnmarshalJSON(data []byte) error + func (r RoadmapSearchByNameResponse) RawJSON() string + type RoadmapService struct + Options []option.RequestOption + func NewRoadmapService(opts ...option.RequestOption) (r RoadmapService) + func (r *RoadmapService) GetByURL(ctx context.Context, url string, opts ...option.RequestOption) (res *RoadmapGetByURLResponse, err error) + func (r *RoadmapService) List(ctx context.Context, query RoadmapListParams, opts ...option.RequestOption) (res *RoadmapListResponse, err error) + func (r *RoadmapService) SearchByName(ctx context.Context, name string, opts ...option.RequestOption) (res *RoadmapSearchByNameResponse, err error) + type VoteAddParams struct + PostID string + func (r *VoteAddParams) UnmarshalJSON(data []byte) error + func (r VoteAddParams) MarshalJSON() (data []byte, err error) + type VoteAddResponse struct + JSON struct{ ... } + Voters PostVote + func (r *VoteAddResponse) UnmarshalJSON(data []byte) error + func (r VoteAddResponse) RawJSON() string + type VoteRemoveParams struct + PostID string + func (r *VoteRemoveParams) UnmarshalJSON(data []byte) error + func (r VoteRemoveParams) MarshalJSON() (data []byte, err error) + type VoteRemoveResponse struct + JSON struct{ ... } + Voters PostVote + func (r *VoteRemoveResponse) UnmarshalJSON(data []byte) error + func (r VoteRemoveResponse) RawJSON() string + type VoteService struct + Options []option.RequestOption + func NewVoteService(opts ...option.RequestOption) (r VoteService) + func (r *VoteService) Add(ctx context.Context, body VoteAddParams, opts ...option.RequestOption) (res *VoteAddResponse, err error) + func (r *VoteService) Remove(ctx context.Context, body VoteRemoveParams, opts ...option.RequestOption) (res *VoteRemoveResponse, err error)