reform.v1: gopkg.in/reform.v1/internal/test/models/bogus Index | Files

package bogus

import "gopkg.in/reform.v1/internal/test/models/bogus"

Index

Package Files

bogus1.go bogus10.go bogus11.go bogus2.go bogus3.go bogus4.go bogus5.go bogus6.go bogus7.go bogus8.go bogus9.go bogus_ignore.go

type Bogus1 Uses

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

Bogus1 is used for testing. reform:bogus

type Bogus10 Uses

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 Uses

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 Uses

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

Bogus2 is used for testing. reform:bogus

type Bogus3 Uses

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

Bogus3 is used for testing. reform:bogus

type Bogus4 Uses

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 Uses

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 Uses

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

Bogus6 is used for testing. reform:bogus

type Bogus7 Uses

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 Uses

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 Uses

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 Uses

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

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

type BogusType Uses

type BogusType string

BogusType is an exported type used for testing.

Updated 2018-12-12. Refresh now. Tools for package owners.