template

package
v0.0.0-...-83adff0 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2020 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// StateNormal 正常
	StateNormal = 0
	// StateDel 删除
	StateDel = 1
)

Variables

This section is empty.

Functions

func Copyright(cp string) int8

Copyright get int8 val

Types

type Template

type Template struct {
	ID   int64  `json:"tid"`
	Name string `json:"name"`
	// Arctype   string `json:"-"`
	TypeID    int16     `json:"typeid"`
	Title     string    `json:"title"`
	Tag       string    `json:"tags"`
	Content   string    `json:"description"`
	Copyright int8      `json:"copyright"`
	State     int8      `json:"-"`
	CTime     time.Time `json:"-"`
	MTime     time.Time `json:"-"`
}

Template archive template.

Jump to

Keyboard shortcuts

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