fiber-go-api-studies

command module
v0.0.0-...-6072c7b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 20, 2020 License: MIT Imports: 1 Imported by: 0

README

fiber-go-api-studies

Studying Filber GO as REST API through some examples (gofiber.io)

go run main.go

http://localhost:3000/cars

{
    "Pagination": {
        "CurrentPage": 1,
        "TotalPages": 1,
        "NextPage": 0,
        "PrevPage": 0
    },
    "Cars": [
        {
            "Name": "Jeep",
            "Year": 1951,
            "Engine": {
                "Cilinders": 6,
                "Power": 3,
                "GasType": "Diesel"
            }
        },
        {
            "Name": "Dodge",
            "Year": 1975,
            "Engine": {
                "Cilinders": 8,
                "Power": 3.2,
                "GasType": "Gas"
            }
        }
    ]
}

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL