controllers

package
v0.0.0-...-fe975ab Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2024 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	COLLECTION = "users"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type UserController

type UserController struct {
	// contains filtered or unexported fields
}

func (*UserController) InsertOne

func (uc *UserController) InsertOne(user models.User) (*mongo.InsertOneResult, error)

func (*UserController) LoadCollection

func (uc *UserController) LoadCollection()

Jump to

Keyboard shortcuts

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