dao

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: May 5, 2023 License: GPL-2.0 Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DocInter

type DocInter interface {
	GetC() string
	GetDoc() interface{}
	GetID() interface{}
	SetCreator(u LogUser)
	AddRecord(u LogUser, msg string) []*Record
	GetIndexes() []mongo.IndexModel
}

type LogUser

type LogUser interface {
	GetName() string
	GetAccount() string
}

type RecInter

type RecInter interface {
	GetT() string
	GetRec() interface{}
}

type Record

type Record struct {
	DataTime time.Time
	Summary  string
	Account  string
	Name     string
}

func NewRecord

func NewRecord(date time.Time, sum string, acc string, name string) *Record

Jump to

Keyboard shortcuts

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