Skip to content
This repository was archived by the owner on Sep 3, 2024. It is now read-only.

Commit 1c6e295

Browse files
committed
Improve docs
1 parent a9bc81c commit 1c6e295

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

main.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ var keys []Key = []Key{
1919
Key{"pods", gocui.KeyEnter, actionViewPodsSelect},
2020
}
2121

22+
// Main or not main, that's the question^^
2223
func main() {
2324
g, err := gocui.NewGui(gocui.OutputNormal)
2425
if err != nil {
@@ -40,6 +41,7 @@ func main() {
4041
}
4142
}
4243

44+
// Define the UI layout
4345
func uiLayout(g *gocui.Gui) error {
4446
maxX, maxY := g.Size()
4547

@@ -51,7 +53,7 @@ func uiLayout(g *gocui.Gui) error {
5153
return nil
5254
}
5355

54-
// Useful to debug application (display with CTRL+D)
56+
// Useful to debug Pody (display with CTRL+D)
5557
func debug(g *gocui.Gui, output interface{}) {
5658
v, err := g.View("debug")
5759
if err == nil {

0 commit comments

Comments
 (0)