Skip to content
This repository has been archived by the owner on May 24, 2024. It is now read-only.

Commit

Permalink
development release
Browse files Browse the repository at this point in the history
  • Loading branch information
JesseCoretta committed Sep 20, 2023
1 parent 05ad71f commit 2200dd8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions _examples/main1.go
Original file line number Diff line number Diff line change
@@ -25,12 +25,12 @@ const (
// Trace, Debug, Warning, etc.
//
// When defining constants, it is very important you limit their
// enumeration to numbers less than (and NOT equal) to the return
// enumeration to numbers less than (and NOT equal to) the return
// value of BitValue.Max(). Never list that number in an iota
// enumerator like as shown below. The reason for this is because
// all of the other numbers shall sum to that value when all value
// are selected together, therefore defining one would result in an
// overflow.
// overflow. To set ALL options, see the BitValue.All method.
UserOption1 Option = 1 << iota // 1
UserOption2 // 2
UserOption3 // 4

0 comments on commit 2200dd8

Please sign in to comment.