#1 Huma
Huma REST/HTTP API Framework for Golang with OpenAPI 3.1
Package goa implements a Go framework for writing microservices that promotes best practice by providing a single source of truth from which server code, client code, and documentation is derived.
Health score 95/100, confidence 100/100.
| Latest version | v2.2.5+incompatible |
| Imported by | 2.0K packages |
| Stars | 6.1K |
| Forks | 584 |
| Last activity | Today |
| Latest release | v3.27.0 (3 days ago) |
| License | MIT |
| Known vuln records | 0 |
| Symbol | Kind | Synopsis |
|---|---|---|
| Endpoint | Type | type Endpoint func(ctx context.Context, request interface{}) (response interface{}, err error) |
| Format | Type | type Format string |
| ServiceError | Type | type ServiceError struct{ ... } |
| Fault | Function | func Fault(format string, v ...interface{}) *ServiceError |
| PermanentError | Function | func PermanentError(name, format string, v ...interface{}) *ServiceError |
| PermanentTimeoutError | Function | func PermanentTimeoutError(name, format string, v ...interface{}) *ServiceError |
| ServiceError.Error | Method | func (s *ServiceError) Error() string |
| ServiceError.ErrorName | Method | func (s *ServiceError) ErrorName() string |
| ServiceError.Fault | Field | Fault bool |
| ServiceError.ID | Field | ID string |
| ServiceError.Message | Field | Message string |
| ServiceError.Name | Field | Name string |
Huma REST/HTTP API Framework for Golang with OpenAPI 3.1
Package swag contains a bunch of helper functions for go-openapi and go-swagger projects.
Package validate provides methods to validate a swagger specification, as well as tools to validate data against their schema.
Embedded OpenAPI/Swagger documentation ui for Go using [ReDoc](https://redocly.com/).
Package fuego provides a set of tools to build HTTP servers in Go, that automatically generate OpenAPI 3.0 documentation and support for multiple web frameworks.