models

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

This file is generated by digogen. Run 'digogen' to regenerate.

You can install this tool by running `go install github.com/werbenhu/digo/digogen`. For more details, please refer to https://github.com/werbenhu/digo.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type User

type User struct {
	Db database.Database
}

func NewUser

func NewUser(db database.Database) *User

@provider({"id": "model.user"}) @inject({"param":"db", "id":"database.mysql"})

func (*User) Print

func (u *User) Print()

Jump to

Keyboard shortcuts

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