cleanup bool usage

This commit is contained in:
Pavol Rusnak 2022-08-31 12:01:09 +02:00
parent 15bb58980a
commit 66aa82f8a8
No known key found for this signature in database
GPG key ID: 91F3B339B9A02A3D
4 changed files with 6 additions and 6 deletions

View file

@ -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"
}

View file

@ -34,7 +34,7 @@ func main() {
// handle -help
if *help_flag_ptr == true {
if *help_flag_ptr {
flag.PrintDefaults()
return
}