An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

github.com/aofei/air

Package air implements an ideally refined web framework for Go. A router is basically the most important component of a web framework. In this framework, registering a route usually requires at least two params: The first param is a route path that contains 6 components. Among them, "users", "posts" and "assets" are STATIC components, ":UserID" and ":PostID" are PARAM components, "*" is an ANY component. Note that all route params (PARAM and ANY components) will be parsed into the `Request` and can be accessed via the `Request.Param` and `Request.Params`. The name of a `RequestParam` parsed from a PARAM component always discards its leading ":", such as ":UserID" will become "UserID". The name of a `RequestParam` parsed from an ANY component is "*". The second param is a `Handler` that serves the requests that match this route.

Ecosystem
proxy.golang.org
Latest Release
v0.22.0
almost 5 years ago
Versions
68
Dependent Packages
12
Dependent Repos
36
Links
Registry proxy.golang.org
Source Repository
Docs Documentation
JSON API View JSON
CodeMeta codemeta.json
Package Details
PURL pkg:golang/github.com/aofei/air
spec
License MIT
Namespace github.com/aofei
First Release over 7 years ago
Last Synced 22 days ago
Keywords
air framework go web
Repository
Stars 422 on GitHub
Forks 42 on GitHub
Rankings on proxy.golang.org
Overall Top 2.2%
Dependent packages Top 1.3%
Dependent repos Top 0.9%
Forks Top 3.7%