Skip to content

Commit

Permalink
fix: metaconsts spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
oneirocosm committed Feb 6, 2025
1 parent 2137133 commit 1acb1ee
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/gogen/gogen.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ func getBeforeColonPart(s string) string {
func GenerateMetaMapConsts(buf *strings.Builder, constPrefix string, rtype reflect.Type, embedded bool) {
if !embedded {
buf.WriteString("const (\n")
} else {
buf.WriteString("\n")
}
var lastBeforeColon = ""
isFirst := true
Expand Down
1 change: 1 addition & 0 deletions pkg/wconfig/metaconsts.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ const (
ConfigKey_AppClear = "app:*"
ConfigKey_AppGlobalHotkey = "app:globalhotkey"
ConfigKey_AppDismissArchitectureWarning = "app:dismissarchitecturewarning"

ConfigKey_AiClear = "ai:*"
ConfigKey_AiPreset = "ai:preset"
ConfigKey_AiApiType = "ai:apitype"
Expand Down

0 comments on commit 1acb1ee

Please sign in to comment.