Versions in this module Expand all Collapse all v1 v1.1.0 Mar 9, 2018 v1.0.0 Feb 27, 2018 Changes in this version + func DeleteUser(db *sqlx.DB, user User) error + type Comment struct + CreatedAt pq.NullTime + DeletedAt pq.NullTime + Email string + ID int64 + Message string + Status string + User *User + UserID int64 + func CreateComment(db *sqlx.DB, comment Comment) (Comment, error) + func FindComments(db *sqlx.DB, comment Comment) ([]Comment, error) + func FindStaffComments(db *sqlx.DB, comment Comment) ([]Comment, error) + func UpsertComment(db *sqlx.DB, comment Comment) (Comment, error) + type News struct + DeletedAt pq.NullTime + ID int64 + PublishedAt pq.NullTime + Status string + func PublishNews(db *sqlx.DB, news News) (News, error) + type User struct + DeletedAt pq.NullTime + Email string + FirstName string + ID int64 + IsStaff bool + LastName string + func FindUsers(db *sqlx.DB) ([]User, error) Incompatible versions in this module v2.2.4+incompatible Aug 1, 2019 v2.2.3+incompatible Aug 1, 2019 v2.2.0+incompatible Sep 21, 2018 v2.1.1+incompatible Jul 23, 2018 v2.0.0+incompatible Apr 17, 2018