model

package
v1.0.7 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseResp

type BaseResp struct {
	Code int         `json:"code"` // if code have omitempty tag, it would be ignored when it is assigned to 0
	Msg  string      `json:"msg,omitempty"`
	Data interface{} `json:"data,omitempty"`
}

type Note

type Note struct {
	ID          string `json:"id,omitempty"`
	Content     string `json:"content"`
	LastModTime string `json:"last_mod_time"`
	CreateTme   string `json:"create_tme"`
}

type TreeDir

type TreeDir struct {
	ID          string     `json:"id,omitempty"`
	Label       string     `json:"label,omitempty"`
	Children    []*TreeDir `json:"children,omitempty"`
	RPath       string     `json:"r_path,omitempty"`
	APath       string     `json:"-"`
	IsDir       bool       `json:"is_dir,omitempty"`
	IsHide      bool       `json:"is_hide,omitempty"`
	LastModTime string     `json:"last_mod_time,omitempty"`
}

Jump to

Keyboard shortcuts

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