api

package
v0.0.0-...-c79bdb4 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateProject

func CreateProject(ctx context.Context, name string)

func CreateUser

func CreateUser(ctx context.Context, username string) (int, error)

Types

type Project

type Project struct {
	Id        int
	CreatedAt time.Time
	UpdatedAt time.Time
	Active    bool

	UserId int
	Name   string
}

type User

type User struct {
	Id        int
	CreatedAt time.Time
	UpdatedAt time.Time
	Active    bool

	Username string
}

Jump to

Keyboard shortcuts

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