Part 5 of Goose, then any language on Flisk. Part 4 already proved the container. This part uses the function from part 2 on a second path. Flisk's command does not change. docs/byo.md still only requires PORT , 0.0.0.0 , and HTTP 200 on /health .
0*0 + 1*1 + 2*2 + 3*3 + 4*4 is 30. That number should come from total , not from a literal in C.
Host check, before Docker
Keep shop.goose from part 3 and run it on the host. It exits. The server file must not.
goose shop.goose
Enter fullscreen mode
Exit fullscreen mode
You want the array [0, 1, 4, 9, 16] and the sum 30 . If that is wrong, fix the function here. Do not debug it through Traefik.
server.goose
serve now takes the sum.…