diff options
| author | Kyren223 <Kyren223@proton.me> | 2024-11-27 22:04:55 +0200 |
|---|---|---|
| committer | Kyren223 <Kyren223@proton.me> | 2024-11-27 22:04:55 +0200 |
| commit | 4a0d94e4893cd77a0bb498b355d3e1b3cbeed2df (patch) | |
| tree | 9469dce6b4ed8a4db77771f70ada6fcaf23475c3 /internal/client/ui/core/state/state.go | |
| parent | 11e523bb89b7ac5a516a176b487d6730a7b781bb (diff) | |
Worked on the UI for the network list
Diffstat (limited to 'internal/client/ui/core/state/state.go')
| -rw-r--r-- | internal/client/ui/core/state/state.go | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/internal/client/ui/core/state/state.go b/internal/client/ui/core/state/state.go new file mode 100644 index 0000000..eeba245 --- /dev/null +++ b/internal/client/ui/core/state/state.go @@ -0,0 +1,14 @@ +package state + +import ( + "github.com/kyren223/eko/internal/packet" + "github.com/kyren223/eko/pkg/snowflake" +) + +type state struct { + Networks map[snowflake.ID]packet.FullNetwork +} + +var State state = state{ + Networks: make(map[snowflake.ID]packet.FullNetwork), +} |
