choieunsuk
Results
comments of
choieunsuk
var strEnabled string conn.Query('SELECT isEnabled FROM table') rows.Scan(&isEnabled) var isEnabled bool isEnabled = false if len(strEnabled ) == 1 && strEnabled [0] == 1 { isEnabled = true }