Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | model: generated implementation of Stringer |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
a85969401ad1475de421e6b35e168ffa |
User & Date: | dnc 2019-05-27 13:54:44 |
Context
2019-05-27
| ||
13:55 | model: improved documentation check-in: e7dcbb2eb7 user: dnc tags: trunk | |
13:54 | model: generated implementation of Stringer check-in: a85969401a user: dnc tags: trunk | |
13:54 | model: improved documentation check-in: 8618055a5e user: dnc tags: trunk | |
Changes
Added model/role_string.go.
> > > > > > > > > > > > > > > > > > > > > > > > > > |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
// Code generated by "stringer -type=Role"; DO NOT EDIT. package model import "strconv" func _() { // An "invalid array index" compiler error signifies that the constant values have changed. // Re-run the stringer command to generate them again. var x [1]struct{} _ = x[RoleUnknown-0] _ = x[Author-1] _ = x[Auditor-2] _ = x[Dependent-3] } const _Role_name = "RoleUnknownAuthorAuditorDependent" var _Role_index = [...]uint8{0, 11, 17, 24, 33} func (i Role) String() string { if i < 0 || i >= Role(len(_Role_index)-1) { return "Role(" + strconv.FormatInt(int64(i), 10) + ")" } return _Role_name[_Role_index[i]:_Role_index[i+1]] } |