private-schrijfsels-en-noti.../2023/golang-talk-han-jan-23/notes.md

30 lines
765 B
Markdown

# Notes for golang talk HAN '23
## Go present (presentation tool for web)
```
go install golang.org/x/tools/cmd/present@latest
```
**Error**
```
present
```
```
Couldn't find gopresent files: no required module provides package golang.org/x/tools/cmd/present: go.mod file not found in current directory or any parent directory; see 'go help modules'
By default, gopresent locates the slide template files and associated
static content by looking for a "golang.org/x/tools/cmd/present" package
in your Go workspaces (GOPATH).
You may use the -base flag to specify an alternate location.
```
```
present -base ~/go/pkg/mod/golang.org/x/tools@v0.3.0/cmd/present
```
See also <https://medium.com/@drashti.ved_84172/level-up-your-go-presentations-b4d06fc495e5>