Bitmask64 is a simple Golang implementation of bitwise operations for creating masks.
This implementation based on PHP Bitmask library
To use this library just add it to your project:
go get github.com/trilobit/Bitmask64
See usage in example file.
The result of executing example code:
Check user for all access levels:
Create: false
Read: false
Update: false
Delete: false
-----------------------------------
Check user for all access levels:
Create: false
Read: true
Update: false
Delete: false
-----------------------------------
This software is distributed under MIT License.