cleanup bool usage
This commit is contained in:
parent
15bb58980a
commit
66aa82f8a8
4 changed files with 6 additions and 6 deletions
|
|
@ -52,7 +52,7 @@ func db_insert_card(one_time_code string, k0_auth_key string, k2_cmac_key string
|
|||
|
||||
enable_flag_yn := "N"
|
||||
|
||||
if enable_flag == true {
|
||||
if enable_flag {
|
||||
enable_flag_yn = "Y"
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ func main() {
|
|||
|
||||
// handle -help
|
||||
|
||||
if *help_flag_ptr == true {
|
||||
if *help_flag_ptr {
|
||||
flag.PrintDefaults()
|
||||
return
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue