Documentation
¶
Overview ¶
Package testfixtures provides types used for testing the tygorgen package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateUserRequest ¶
type CreateUserRequest struct {
Username string `json:"username"`
Email string `json:"email"`
Password string `json:"password"`
}
CreateUserRequest is a test fixture for generator tests.
type ListPostsParams ¶
type ListPostsParams struct {
AuthorID *int64 `json:"author_id" schema:"author_id"`
Published *bool `json:"published" schema:"published"`
Limit int32 `json:"limit" schema:"limit"`
Offset int32 `json:"offset" schema:"offset"`
}
ListPostsParams is a test fixture for generator tests.
Click to show internal directories.
Click to hide internal directories.