sum

package
v0.0.0-...-cc7dcbf Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Sum

type Sum struct {
	gorm.Model
	UUID  string `json:"uuid"`
	IP    string `json:"ip""`
	User  string `json:"user" gorm:"unique"`
	Total int64  `json:"total" gorm:"default:0"`
}

func (Sum) BeforeCreate

func (Sum) BeforeCreate(scope *gorm.Scope) error

Jump to

Keyboard shortcuts

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