src/structs/doc.go
raw| 1 | // Copyright 2024 The Go Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style |
| 3 | // license that can be found in the LICENSE file. |
| 4 | |
| 5 | // Package structs defines marker types that can be used as struct fields |
| 6 | // to modify the properties of a struct. |
| 7 | // |
| 8 | // By convention, a marker type should be used as the type of a field |
| 9 | // named "_", placed at the beginning of a struct type definition. |
| 10 | package structs |