gofasta console
Launches yaegi (a Go interpreter) in the current project directory for interactive exploration of your application code.
Usage
gofasta consoleThis command takes no flags.
Prerequisites
Yaegi must be installed:
go install github.com/traefik/yaegi/cmd/yaegi@latestExamples
Start the REPL:
gofasta consoleOnce inside, you can import and test your project’s packages interactively:
> import "myapp/app/models"
> u := models.User{FirstName: "Alice"}
> u.FirstName
"Alice"Related
- gofasta dev — start the development server
- gofasta doctor — check system prerequisites
Last updated on