rmeove: example

This commit is contained in:
TaurusXin 2024-07-15 16:21:15 +08:00
parent e93e5b5292
commit 2d6a7ea67f
1 changed files with 0 additions and 18 deletions

View File

@ -72,21 +72,3 @@ func (helper *SQLiteHelper) querySingleColumn(tableName, columnName string) (str
func (helper *SQLiteHelper) QueryVersion() (string, error) {
return helper.querySingleColumn("Config", "Version")
}
// func main() {
// // Example usage
// helper := NewSQLiteHelper("path/to/database.db")
// defer helper.Close()
// version, err := helper.QueryVersion()
// if err != nil {
// log.Fatal(err)
// }
// fmt.Println("Database version:", version)
// macAddress, err := helper.QueryMacAddressByPrefix("00:1A:2B")
// if err != nil {
// log.Fatal(err)
// }
// fmt.Println("MacAddress:", macAddress)
// }