Page Menu
Home
Musing Studio
Search
Configure Global Search
Log In
Files
F13893556
organization.go
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
534 B
Subscribers
None
organization.go
View Options
package
writeas
// Role is an OrgMember's role.
type
Role
string
const
(
RoleAdmin
Role
=
"admin"
RoleEditor
Role
=
"editor"
RoleAuthor
Role
=
"author"
)
type
(
// OrgMember represents a member of an Organization
OrgMember
struct
{
Author
Email
string
`json:"email"`
Role
Role
`json:"role"`
}
// OrgMemberParams are parameters for creating or updating an OrgMember.
OrgMemberParams
struct
{
AuthorParams
Username
string
`json:"username"`
Email
string
`json:"email"`
Role
Role
`json:"role"`
}
)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Mar 12, 5:16 PM (1 d, 21 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3649282
Attached To
rWGO writeas-go
Event Timeline
Log In to Comment