summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
authorYour Name <[email protected]>2024-01-01 12:00:00 -0600
committerYour Name <[email protected]>2024-01-01 12:00:00 -0600
commit8d24366492abf65793a1395619bd30c1bd5a8973 (patch)
treec41cb4f783afedd0b601491adecf0b9748ace02d /structs.go
parent6df064282c1a912e606100f24584e10d2c1c5b24 (diff)
early debugging code
Diffstat (limited to 'structs.go')
-rw-r--r--structs.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/structs.go b/structs.go
index eb3905f..c8c688b 100644
--- a/structs.go
+++ b/structs.go
@@ -234,12 +234,11 @@ func Set(ptr interface{}, tag string) error {
}
func setField(field reflect.Value, defaultVal string, name string) error {
-
if !field.CanSet() {
// log("setField() Can't set value", field, defaultVal)
return fmt.Errorf("Can't set value\n")
} else {
- log.Log(NOW, "setField() Can set value", name, defaultVal)
+ // log.Log(NOW, "setField() Can set value", name, defaultVal)
}
switch field.Kind() {