trilobit / Bitmask64

Simple bitmask implementation

Home Page:https://pkg.go.dev/github.com/trilobit/Bitmask64

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Simple bitmask implementation

https://pkg.go.dev/github.com/trilobit/Bitmask64

License:MIT License


Languages

Language:Go 100.0%