Merged
Conversation
dstlled-diffexpanddiff --git a/5c52f685/cmd/root.go b/515efa97/cmd/root.go
index 7e245d5..a1c36f6 100644
--- a/5c52f685/cmd/root.go
+++ b/515efa97/cmd/root.go
@@ -1,2 +1 @@
-func die(msg string, args ...any)
-func Execute()
+func Execute() error
diff --git a/5c52f685/cueitup.go b/515efa97/main.go
similarity index 100%
rename from 5c52f685/cueitup.go
rename to 515efa97/main.go
diff --git a/5c52f685/ui/model/cmds.go b/515efa97/ui/model/cmds.go
index 35aaf4d..e429709 100644
--- a/5c52f685/ui/model/cmds.go
+++ b/515efa97/ui/model/cmds.go
@@ -1,2 +1,2 @@
-func DeleteMessages(client *sqs.Client, queueUrl string, messages []types.Message) tea.Cmd
-func GetQueueMsgCount(client *sqs.Client, queueUrl string) tea.Cmd
+func DeleteMessages(client *sqs.Client, queueURL string, messages []types.Message) tea.Cmd
+func GetQueueMsgCount(client *sqs.Client, queueURL string) tea.Cmd
@@ -8 +8 @@ func hideHelp(interval time.Duration) tea.Cmd
-func (m model) FetchMessages(maxMessages int32, waitTime int32) tea.Cmd
+func (m Model) FetchMessages(maxMessages int32, waitTime int32) tea.Cmd
diff --git a/5c52f685/ui/model/initial.go b/515efa97/ui/model/initial.go
index 1381c76..7654528 100644
--- a/5c52f685/ui/model/initial.go
+++ b/515efa97/ui/model/initial.go
@@ -1 +1 @@
-func InitialModel(sqsClient *sqs.Client, queueUrl string, msgConsumptionConf MsgConsumptionConf) model
+func InitialModel(sqsClient *sqs.Client, queueURL string, msgConsumptionConf MsgConsumptionConf) Model
diff --git a/5c52f685/ui/model/model.go b/515efa97/ui/model/model.go
index 30e48cb..992323e 100644
--- a/5c52f685/ui/model/model.go
+++ b/515efa97/ui/model/model.go
@@ -8 +8 @@ type MsgConsumptionConf struct {
-type model struct {
+type Model struct {
@@ -11 +11 @@ type model struct {
- queueUrl string
+ queueURL string
@@ -38 +38 @@ type model struct {
-func (m model) Init() tea.Cmd
+func (m Model) Init() tea.Cmd
diff --git a/5c52f685/ui/model/msgs.go b/515efa97/ui/model/msgs.go
index 38d7c0c..48a036f 100644
--- a/5c52f685/ui/model/msgs.go
+++ b/515efa97/ui/model/msgs.go
@@ -1,2 +1,4 @@
-type MsgCountTickMsg struct{}
-type HideHelpMsg struct{}
+type (
+ MsgCountTickMsg struct{}
+ HideHelpMsg struct{}
+)
diff --git a/5c52f685/ui/model/update.go b/515efa97/ui/model/update.go
index bf16682..3a8f3d0 100644
--- a/5c52f685/ui/model/update.go
+++ b/515efa97/ui/model/update.go
@@ -1 +1 @@
-func (m model) Update(tea.Model, tea.Cmd)
+func (m Model) Update(tea.Model, tea.Cmd)
diff --git a/5c52f685/ui/model/view.go b/515efa97/ui/model/view.go
index c62ab48..80c398e 100644
--- a/5c52f685/ui/model/view.go
+++ b/515efa97/ui/model/view.go
@@ -1 +1 @@
-func (m model) View() string
+func (m Model) View() string
diff --git a/5c52f685/ui/ui.go b/515efa97/ui/ui.go
index f8e0ecf..ebdc12a 100644
--- a/5c52f685/ui/ui.go
+++ b/515efa97/ui/ui.go
@@ -1 +1 @@
-func RenderUI(sqsClient *sqs.Client, queueUrl string, msgConsumptionConf model.MsgConsumptionConf)
+func RenderUI(sqsClient *sqs.Client, queueURL string, msgConsumptionConf model.MsgConsumptionConf) error |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.