Home

Awesome

Steps to have hello world (by gong) work:

  1. Clone the repo

You should see the following 3 files:

helloworld % tree .
.
├── LICENSE
├── README.md               -> this file
├── go
│   └── models
│       └── helloworld.go   -> the data model
├── go.mod                  -> standard go module file (empty)
├── hello_world_view.png    -> capture of the result on the client browser
└── test.db                 -> sqllite database file used by the application (three countries)
  1. Install gongc (the gong compiler)
  1. Compile & run hello world

compilation should last less than a minute ("npm install" is the longuest operation)

Go back to the root directory of the helloworld repo

update the go needed modules

launch helloworld

helloworld % go run main.go
helloworld: Database Migration of package github.com/fullstack-lang/helloworld/go is OK
helloworld: Server ready serve on localhost:8080
  1. Use hello world

what you should see

hello_world