model

package
v0.0.0-...-17df286 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Log

type Log struct {
	LogID         string `gorm:"primary_key"`
	UserID        string
	Date          string
	WorkTime      int
	Concentration string
	LogName       string
}

func FindByLogID

func FindByLogID(LogID string) (*Log, error)

func (*Log) Create

func (l *Log) Create() error

func (*Log) FindAllLogIDByUserID

func (l *Log) FindAllLogIDByUserID() ([]string, error)

Jump to

Keyboard shortcuts

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