bogus

package
v1.5.1 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2021 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 Bogus1

type Bogus1 struct {
	BogusType `reform:"bogus"` // anonymous field with "reform:" tag should generate error
}

Bogus1 is used for testing. reform:bogus

type Bogus10

type Bogus10 struct {
	Bogus1 string `reform:"bogus1,pk"`
	Bogus2 string `reform:"bogus2,pk"` // field with "reform:" tag with duplicate pk label should generate error
}

Bogus10 is used for testing. reform:bogus

type Bogus11 added in v1.3.0

type Bogus11 struct {
	Bogus []string `reform:"bogus,pk"` // slice field with "reform:" tag and pk label should generate error
}

Bogus11 is used for testing. reform:bogus

type Bogus2

type Bogus2 struct {
	// contains filtered or unexported fields
}

Bogus2 is used for testing. reform:bogus

type Bogus3

type Bogus3 struct {
	// contains filtered or unexported fields
}

Bogus3 is used for testing. reform:bogus

type Bogus4

type Bogus4 struct {
	Bogus string `reform:",pk"` // field with "reform:" tag without column name should generate error
}

Bogus4 is used for testing. reform:bogus

type Bogus5

type Bogus5 struct {
	Bogus string `reform:"bogus,foo"` // field with "reform:" tag with unexpected value should generate error
}

Bogus5 is used for testing. reform:bogus

type Bogus6

type Bogus6 struct {
	// struct without fields with "reform:" tag should generate error
	Bogus string
}

Bogus6 is used for testing. reform:bogus

type Bogus7

type Bogus7 struct {
	Bogus *string `reform:"bogus,pk"` // pointer field with "reform:" tag and pk label should generate error
}

Bogus7 is used for testing. reform:bogus

type Bogus8

type Bogus8 struct {
	Bogus *string `reform:"bogus,omitempty"` // pointer field with "reform:" tag and omitempty label should generate error
}

Bogus8 is used for testing. reform:bogus

type Bogus9

type Bogus9 struct {
	Bogus1 string `reform:"bogus,pk"`
	Bogus2 string `reform:"bogus"` // field with "reform:" tag with duplicate column name should generate error
}

Bogus9 is used for testing. reform:bogus

type BogusIgnore

type BogusIgnore struct {
	Bogus string `reform:"bogus"`
}

BogusIgnore is used for testing. Struct without "reform:" magic comment should be ignored by ParseFile.

type BogusType

type BogusType string

BogusType is an exported type used for testing.

Jump to

Keyboard shortcuts

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