Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 521 Bytes

README.md

File metadata and controls

28 lines (20 loc) · 521 Bytes

webserver

This example shows the usage of every stdfx feature.

You can choose to run several subcommands:

# run the server
go run ./cmd/webserver -c . server
# or
task run

# or try different subcommands
go run ./cmd/webserver -c . help
go run ./cmd/webserver -c . version
go run ./cmd/webserver -c . config validate
go run ./cmd/webserver -c . config get webserver.port

You can also build the binary and run it natively:

task build

# afterwards run

cmd/webserver/webserver -c . server