Added Permission type

This commit is contained in:
2022-08-10 12:52:20 -04:00
parent 488220f3a7
commit 2e965d6f68
2 changed files with 19 additions and 1 deletions

14
types/permission.go Normal file
View File

@@ -0,0 +1,14 @@
package types
type Mode int
const (
ModeRead = iota
ModeWrite
ModeNone
)
type Permission struct {
Internal Mode
External Mode
}