github.com/goki/ki@v1.1.11/bitflag/README.md (about) 1 # bitflag 2 3 [![Go Report Card](https://goreportcard.com/badge/github.com/goki/ki/bitflag)](https://goreportcard.com/report/github.com/goki/ki/bitflag) 4 [![GoDoc](https://godoc.org/github.com/goki/ki/bitflag?status.svg)](http://godoc.org/github.com/goki/ki/bitflag) 5 6 Package `bitflag` provides simple bit flag setting, checking, and clearing 7 methods that take bit position args as ints (from const int eunum iota's) 8 and do the bit shifting from there -- although a tiny bit slower, the 9 convenience of maintaining ordinal lists of bit positions greatly outweighs 10 that cost -- see kit type registry for further enum management functions