user

package
v0.0.0-...-ae67dfe Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const TableName = "users"

Variables

This section is empty.

Functions

This section is empty.

Types

type AppUser

type AppUser struct {
	Ctx        context.Context
	Collection *mongo.Collection
}

func New

func New(ac core.AppContext) *AppUser

func (*AppUser) FindAll

func (au *AppUser) FindAll() (*[]AppUserDoc, error)

type AppUserDoc

type AppUserDoc struct {
	Id  primitive.ObjectID `bson:"_id" json:"_id"`
	Id2 string             `json:"id2"`
}

Jump to

Keyboard shortcuts

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