mirror of
https://github.com/rivo/tview.git
synced 2026-04-26 21:35:54 +03:00
[GH-ISSUE #620] Error when running demo/presentation/main.go #455
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tview#455
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Zeebrow on GitHub (Jun 12, 2021).
Original GitHub issue: https://github.com/rivo/tview/issues/620
I appologize in advance if I missed something obvious; I started learning Go today.
Output:
Reproduce with commands (Ubuntu 20.04):
Other info:
go version go1.16.5 linux/amd64@Zeebrow commented on GitHub (Jun 12, 2021):
I made this in case anyone else wants to try the presentation demo, albeit in a more limited capacity (see readme).
@marcelocantos commented on GitHub (Jun 13, 2021):
You should usually
go runpackages, not individual files:What you tried is valid, but treats
main.goas a standalone package all by itself, so it's missing symbols it needs that are defined in other Go files in the same package.@Zeebrow commented on GitHub (Jun 16, 2021):
Thanks @marcelocantos! Running
go run .indeed gives me the nice presentation.