Skip to content

trilobit/Bitmask64

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple bitmask implementation

License Tests Go Reference

About

Bitmask64 is a simple Golang implementation of bitwise operations for creating masks.

This implementation based on PHP Bitmask library

Installation

To use this library just add it to your project:

go get github.com/trilobit/Bitmask64

Usage

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
-----------------------------------

License

This software is distributed under MIT License.