Use uint for internal types (#926)

pull/929/head
Dane Harrigan 5 years ago committed by GitHub
parent 6623be8bfb
commit 433998494a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -2,7 +2,7 @@ package action
// Type defines a type for the Actions of Resources
// actions are also stored as a lookup db table named iam_action
type Type int
type Type uint
// not using iota intentionally, since the values are stored in the db as well.
const (

@ -1,7 +1,7 @@
package resource
// Type defines the types of resources in the system
type Type int
type Type uint
const (
Unknown Type = 0

@ -1,7 +1,7 @@
package scope
// Type defines the possible types for Scopes
type Type uint32
type Type uint
const (
Unknown Type = 0

Loading…
Cancel
Save