model

package
v2.4.0 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Permissions = []model2.Permission{
	{Method: "news", Desc: i18n.NewsPermission},
	{Method: "stream", Desc: i18n.StreamPermission},
	{Method: "query-history", Desc: translator.Translate{translator.RU: "История запросов", translator.EN: "Query history"}},
}

Functions

This section is empty.

Types

type News

type News struct {
	ID      int     `json:"id"`
	Title   string  `json:"title"`
	Content *string `json:"content"`
	UserID  int     `json:"user_id"`
}

func (News) TableName

func (m News) TableName() string

Jump to

Keyboard shortcuts

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