// Code generated by sqlc. DO NOT EDIT. // versions: // sqlc v1.30.0 // source: user_oauth.sql package repo import ( "context" ) const insertUserOAuth = `-- name: InsertUserOAuth :exec INSERT INTO user_oauth ( id, user_id, type, openid, create_time, update_time ) VALUES ( $1, $2, $3, $4, NOW(), NOW() ) ` type InsertUserOAuthParams struct { ID int64 UserID int64 Type int16 Openid string } func (q *Queries) InsertUserOAuth(ctx context.Context, arg InsertUserOAuthParams) error { _, err := q.db.Exec(ctx, insertUserOAuth, arg.ID, arg.UserID, arg.Type, arg.Openid, ) return err }