fix(build): make build-web works; gofmt all Go files
This commit is contained in:
+2
-2
@@ -13,8 +13,8 @@ import (
|
||||
|
||||
// APIClient wraps HTTP calls to the dumpster server.
|
||||
type APIClient struct {
|
||||
BaseURL string
|
||||
HTTP *http.Client
|
||||
BaseURL string
|
||||
HTTP *http.Client
|
||||
SessionToken string
|
||||
}
|
||||
|
||||
|
||||
+12
-12
@@ -3,18 +3,18 @@ package main
|
||||
import "github.com/charmbracelet/bubbles/key"
|
||||
|
||||
type keyMap struct {
|
||||
Up key.Binding
|
||||
Down key.Binding
|
||||
Top key.Binding
|
||||
Bottom key.Binding
|
||||
Tab key.Binding
|
||||
ShiftTab key.Binding
|
||||
FocusInput key.Binding
|
||||
Unfocus key.Binding
|
||||
Quit key.Binding
|
||||
Help key.Binding
|
||||
Send key.Binding
|
||||
MemberToggle key.Binding
|
||||
Up key.Binding
|
||||
Down key.Binding
|
||||
Top key.Binding
|
||||
Bottom key.Binding
|
||||
Tab key.Binding
|
||||
ShiftTab key.Binding
|
||||
FocusInput key.Binding
|
||||
Unfocus key.Binding
|
||||
Quit key.Binding
|
||||
Help key.Binding
|
||||
Send key.Binding
|
||||
MemberToggle key.Binding
|
||||
ChannelPicker key.Binding
|
||||
}
|
||||
|
||||
|
||||
+2
-2
@@ -53,8 +53,8 @@ var (
|
||||
BorderForeground(aqua)
|
||||
|
||||
UnfocusedBorder = lipgloss.NewStyle().
|
||||
Border(lipgloss.NormalBorder(), false, false, true, false).
|
||||
BorderForeground(bgT)
|
||||
Border(lipgloss.NormalBorder(), false, false, true, false).
|
||||
BorderForeground(bgT)
|
||||
|
||||
// Server list
|
||||
ServerActive = lipgloss.NewStyle().
|
||||
|
||||
+6
-6
@@ -4,12 +4,12 @@ package main
|
||||
|
||||
// VoiceState holds the current voice connection state.
|
||||
type VoiceState struct {
|
||||
Connected bool
|
||||
RoomName string
|
||||
LiveKitURL string
|
||||
Token string
|
||||
Muted bool
|
||||
Deafened bool
|
||||
Connected bool
|
||||
RoomName string
|
||||
LiveKitURL string
|
||||
Token string
|
||||
Muted bool
|
||||
Deafened bool
|
||||
Participants []VoiceParticipant
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user