Merge branch 'fat0troll_changes' of fat0troll/flagger into master
This commit is contained in:
commit
5cf6a6dd8f
@ -20,6 +20,7 @@ initialize flagger like:
|
|||||||
|
|
||||||
```
|
```
|
||||||
flgr = flagger.New(flagger.LoggerInterface(log.New(os.Stdout, "testing logger: ", log.Lshortfile)))
|
flgr = flagger.New(flagger.LoggerInterface(log.New(os.Stdout, "testing logger: ", log.Lshortfile)))
|
||||||
|
flgr.Initialize()
|
||||||
```
|
```
|
||||||
|
|
||||||
Adding a flag is easy, just fill ``Flag`` structure and pass to ``AddFlag()`` call:
|
Adding a flag is easy, just fill ``Flag`` structure and pass to ``AddFlag()`` call:
|
||||||
|
Loading…
Reference in New Issue
Block a user