test

package
v0.0.0-...-006b81c Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2026 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Document

type Document struct {
	ID           int       `gomysql:"id,primary,increment"`
	Title        string    `gomysql:"title"`
	Body         string    `gomysql:"body"`
	Tags         []string  `gomysql:"tags"`
	Creation     time.Time `gomysql:"creation"`
	BooleanField bool      `gomysql:"boolean_field"`
}

type MultiLayerStruct

type MultiLayerStruct struct {
	Name          string                          `gomysql:"name,primary,unique"`
	Layer1        MultiLayerStructEmbeddedStruct  `gomysql:"layer1"`
	Layer2        MultiLayerStructEmbeddedStruct  `gomysql:"layer2"`
	PointerLayer1 *MultiLayerStructEmbeddedStruct `gomysql:"pointer_layer1"`
	PointerLayer2 *MultiLayerStructEmbeddedStruct `gomysql:"pointer_layer2"`
}

type MultiLayerStructEmbeddedStruct

type MultiLayerStructEmbeddedStruct struct {
	Name    string `gomysql:"name"`
	Content string `gomysql:"content"`
}

Jump to

Keyboard shortcuts

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