model

package
v2.1.6 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Permissions = []model2.Permission{
	{Method: "books", Desc: i18n.BooksPermission},
	{Method: "books/likes", Desc: i18n.BooksLikesPermission},
	{Method: "news", Desc: i18n.NewsPermission},
}

Functions

This section is empty.

Types

type Profile added in v2.1.0

type Profile struct {
	ID    int    `json:"id"`
	Login string `json:"login"`
	Name  string `json:"name"`

	UserID int `json:"user_id"`
}

func (Profile) TableName added in v2.1.0

func (m Profile) TableName() string

Jump to

Keyboard shortcuts

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