Documentation ¶
Index ¶
- Constants
- func InsertHook(db *sql.DB, query string, v *Hook) error
- func InsertIssue(db *sql.DB, query string, v *Issue) error
- func InsertUser(db *sql.DB, query string, v *User) error
- func SliceHook(v *Hook) []interface{}
- func SliceIssue(v *Issue) []interface{}
- func SliceUser(v *User) []interface{}
- func UpdateHook(db *sql.DB, query string, v *Hook) error
- func UpdateIssue(db *sql.DB, query string, v *Issue) error
- func UpdateUser(db *sql.DB, query string, v *User) error
- type Author
- type Commit
- type Hook
- type Issue
- type User
Constants ¶
View Source
const CreateHookStmt = `` /* 734-byte string literal not displayed */
View Source
const CreateIssueStmt = `` /* 238-byte string literal not displayed */
View Source
const CreateUserEmailStmt = `
CREATE UNIQUE INDEX IF NOT EXISTS user_email ON users (user_email)
`
View Source
const CreateUserLoginStmt = `
CREATE UNIQUE INDEX IF NOT EXISTS user_login ON users (user_login)
`
View Source
const CreateUserStmt = `` /* 236-byte string literal not displayed */
View Source
const DeleteHookPkeyStmt = `
DELETE FROM hooks
WHERE hook_id=?
`
View Source
const DeleteIssuePkeyStmt = `
DELETE FROM issues
WHERE issue_id=$1
`
View Source
const DeleteUserEmailStmt = `
DELETE FROM users
WHERE user_email=?
`
View Source
const DeleteUserLoginStmt = `
DELETE FROM users
WHERE user_login=?
`
View Source
const DeleteUserPkeyStmt = `
DELETE FROM users
WHERE user_id=?
`
View Source
const InsertHookStmt = `` /* 349-byte string literal not displayed */
View Source
const InsertIssueStmt = `` /* 133-byte string literal not displayed */
View Source
const InsertUserStmt = `` /* 146-byte string literal not displayed */
View Source
const SelectHookCountStmt = `
SELECT count(1)
FROM hooks
`
View Source
const SelectHookPkeyStmt = `` /* 333-byte string literal not displayed */
View Source
const SelectHookRangeStmt = `` /* 334-byte string literal not displayed */
View Source
const SelectHookStmt = `` /* 317-byte string literal not displayed */
View Source
const SelectIssueCountStmt = `
SELECT count(1)
FROM issues
`
View Source
const SelectIssuePkeyStmt = `` /* 132-byte string literal not displayed */
View Source
const SelectIssueRangeStmt = `` /* 133-byte string literal not displayed */
View Source
const SelectIssueStmt = `
SELECT
issue_id
,issue_number
,issue_title
,issue_body
,issue_assignee
,issue_state
,issue_labels
FROM issues
`
View Source
const SelectUserCountStmt = `
SELECT count(1)
FROM users
`
View Source
const SelectUserEmailStmt = `` /* 147-byte string literal not displayed */
View Source
const SelectUserLoginStmt = `` /* 147-byte string literal not displayed */
View Source
const SelectUserPkeyStmt = `` /* 144-byte string literal not displayed */
View Source
const SelectUserRangeStmt = `` /* 145-byte string literal not displayed */
View Source
const SelectUserStmt = `` /* 128-byte string literal not displayed */
View Source
const UpdateHookPkeyStmt = `` /* 364-byte string literal not displayed */
View Source
const UpdateIssuePkeyStmt = `` /* 152-byte string literal not displayed */
View Source
const UpdateUserEmailStmt = `` /* 164-byte string literal not displayed */
View Source
const UpdateUserLoginStmt = `` /* 164-byte string literal not displayed */
View Source
const UpdateUserPkeyStmt = `` /* 161-byte string literal not displayed */
Variables ¶
This section is empty.
Functions ¶
func SliceIssue ¶
func SliceIssue(v *Issue) []interface{}
Types ¶
type Hook ¶
type Issue ¶
Click to show internal directories.
Click to hide internal directories.