mirror of
https://github.com/steveiliop56/tinyauth.git
synced 2026-07-13 05:21:12 +00:00
fix: remove omitempty suffix from docs gen
This commit is contained in:
@@ -51,6 +51,8 @@ func buildEnvEntry(child reflect.StructField, childValue reflect.Value, parentPa
|
||||
return
|
||||
}
|
||||
|
||||
tag = strings.TrimSuffix(tag, ",omitempty")
|
||||
|
||||
value := childValue.Interface()
|
||||
|
||||
entry := EnvEntry{
|
||||
|
||||
Reference in New Issue
Block a user