add comments and new parameter id for client request order
This commit is contained in:
@@ -1,13 +1,16 @@
|
||||
package models
|
||||
|
||||
type Rights string
|
||||
|
||||
// all avaiable read/write modes
|
||||
const (
|
||||
Read Rights = "R"
|
||||
Write Rights = "W"
|
||||
ReadWrite Rights = "RW"
|
||||
)
|
||||
|
||||
// dbm read/write model
|
||||
type Rights string
|
||||
|
||||
// return current rights
|
||||
func (r *Rights) GetRights() Rights {
|
||||
if *r == "" {
|
||||
return ReadWrite
|
||||
|
Reference in New Issue
Block a user