response

package
v0.0.0-...-5e8989d Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2025 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TopTopic

type TopTopic struct {
	ID    int     `json:"id"`
	Name  string  `json:"name" gorm:"column:label"`
	Value int     `json:"-" gorm:"column:value"`
	Topic []Topic `json:"topic" gorm:"foreignKey:PID;references:Value;"`
}

func (TopTopic) TableName

func (TopTopic) TableName() string

type Topic

type Topic struct {
	ID     int    `json:"id" gorm:"column:id"`
	Name   string `json:"name" gorm:"column:name"`
	PID    int    `json:"-" gorm:"column:pid"`
	Number int    `json:"number" gorm:"column:number"`
}

func (Topic) TableName

func (Topic) TableName() string

Jump to

Keyboard shortcuts

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