services

package
v0.0.0-...-667b3ce Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 27, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Migration

func Migration(client db.Client, logger *zap.Logger) error

func UpsertUser

func UpsertUser(
	client db.Client,
	user User,
) error

Types

type Forum

type Forum struct {
	ID          int64
	Name        string
	Description string
	ParentID    int64
}

type Forums

type Forums []Forum

func ListForums

func ListForums(client db.Client) (Forums, error)

type User

type User struct {
	Email    string
	Provider string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL