...

Package structtag

import "cmd/vet/testdata/structtag"
Overview
Index

Overview ▾

Index ▾

Package files

structtag.go

type StructTagTest

type StructTagTest struct {
    A int "hello" // ERROR "`hello` not compatible with reflect.StructTag.Get: bad syntax for struct tag pair"
}