diff options
| author | Kyren223 <Kyren223@proton.me> | 2025-01-07 18:03:35 +0200 |
|---|---|---|
| committer | Kyren223 <Kyren223@proton.me> | 2025-01-07 18:03:35 +0200 |
| commit | f9f0f769f639db1f9c27878f16bede796dd9ef8f (patch) | |
| tree | d66c71dbe032768c00bca14f193516c83982c7ff | |
| parent | 6e1b96900f8e5b7202ca635b1e9ba05204f6fec7 (diff) | |
Fixed formatting, CI should pass
| -rw-r--r-- | cmd/server/main.go | 2 | ||||
| -rw-r--r-- | internal/client/ui/field/field.go | 1 | ||||
| -rw-r--r-- | internal/client/ui/layouts/flex/flex.go | 8 | ||||
| -rw-r--r-- | internal/packet/models.go | 4 |
4 files changed, 7 insertions, 8 deletions
diff --git a/cmd/server/main.go b/cmd/server/main.go index c02f65d..fa04d69 100644 --- a/cmd/server/main.go +++ b/cmd/server/main.go @@ -16,7 +16,7 @@ import ( const port = 7223 -func main(){ +func main() { stdout := flag.Bool("stdout", false, "enable logging to stdout") flag.Parse() diff --git a/internal/client/ui/field/field.go b/internal/client/ui/field/field.go index dca4203..8cdaced 100644 --- a/internal/client/ui/field/field.go +++ b/internal/client/ui/field/field.go @@ -53,7 +53,6 @@ func (m Model) View() string { return "" } - style := m.BlurredStyle if m.Input.Focused() { style = m.FocusedStyle diff --git a/internal/client/ui/layouts/flex/flex.go b/internal/client/ui/layouts/flex/flex.go index def7a18..cdd7c82 100644 --- a/internal/client/ui/layouts/flex/flex.go +++ b/internal/client/ui/layouts/flex/flex.go @@ -18,15 +18,15 @@ type Model struct { func NewHorizontal(contents ...string) Model { return Model{ - contents: contents, - Vertical: false, + contents: contents, + Vertical: false, } } func NewVertical(contents ...string) Model { return Model{ - contents: contents, - Vertical: true, + contents: contents, + Vertical: true, } } diff --git a/internal/packet/models.go b/internal/packet/models.go index e0b39d7..562e782 100644 --- a/internal/packet/models.go +++ b/internal/packet/models.go @@ -2,9 +2,9 @@ package packet const ( MaxIconBytes = 16 - DefaultFrequencyName = "main" + DefaultFrequencyName = "main" DefaultFrequencyColor = "#FFFFFF" - MaxFrequencyName = 32 + MaxFrequencyName = 32 ) const ( |
