package
0.0.0-20240415041022-463b32c03d39
Repository: https://github.com/readr-media/readr-restful.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewPostArgs return a PostArgs struct with default settings, which could be overriden at any time as long as there are functions passed in whose input in *PostArgs.
No description provided by the author
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
var MemoStatus map[string]interface{} var MemoPublishStatus map[string]interface{}
type Memo struct {
ID int `json:"id" db:"memo_id"`
CreatedAt rrsql.NullTime `json:"created_at" db:"created_at"`
CommentAmount rrsql.NullInt `json:"comment_amount" db:"comment_amount"`
Title rrsql.NullString `json:"title" db:"title"`
Content rrsql.NullString `json:"content" db:"content"`
Link rrsql.NullString `json:"link" db:"link"`
Author rrsql.NullInt `json:"author" db:"author"`
Project rrsql.NullInt `json:"project_id" db:"project_id"`
Active rrsql.NullInt `json:"active" db:"active"`
UpdatedAt rrsql.NullTime `json:"updated_at" db:"updated_at"`
UpdatedBy rrsql.NullInt `json:"updated_by" db:"updated_by"`
PublishedAt rrsql.NullTime `json:"published_at" db:"published_at"`
PublishStatus rrsql.NullInt `json:"publish_status" db:"publish_status"`
Order rrsql.NullInt `json:"memo_order" db:"memo_order"`
}
*/.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
PointsToken is made to solve problem if Token is added to Points struct Since in Insert method rrsql.GetStructDBTags is used, and *string seems going to be asserted as string and get an empty database field, resulting in insert NamedExec fail.
Post could use json:"omitempty" tag to ignore null field However, struct type field like rrsql.NullTime, rrsql.NullString must be declared as pointer, like *rrsql.NullTime, *rrsql.NullString to be used with omitempty.
type PostArgs map[string]interface{}.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Stunt could be regarded as an experimental, pre-transitional wrap of Member, which provide omitempty tag for json and Use *Null type instead of Null type to made omitempty work In this way we could control the fields returned by update SQL select fields.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Interfaces
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
LastPNRInterface is used in /tags/pnr TaggedPostMember and ReportAuthors satisfy this interface.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Type aliases
No description provided by the author