mirror of
https://github.com/go-micro/go-micro.git
synced 2025-01-23 17:53:05 +02:00
12 lines
193 B
Markdown
12 lines
193 B
Markdown
|
# Flags
|
||
|
|
||
|
This is an example of using command line flags
|
||
|
|
||
|
## Run the example
|
||
|
|
||
|
```shell
|
||
|
go run main.go --string_flag="a string" --int_flag=10 --bool_flag=true
|
||
|
```
|
||
|
|
||
|
And that's all there is to it.
|