command
Version:
v1.1.0
Opens a new window with list of versions in this module.
Published: Dec 29, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
SAMPLE API
A sample http app built using gofr.
RUN
To run the app follow the below steps:
go run main.go
This will start the server at port 9000.
DOCKER BUILD
To Build a docker image, follow the below steps:
On non linux machines :
GOOS=linux go build main.go
This will build a go binary
docker build -t sample-api:$(date +%s) .
On linux machines(Ubuntu/Mac):
go build main.go
This will build a go binary
docker build -t sample-api:$(date +%s) .
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.