Registry / web-framework / goadesign-goa

goadesign-goa

JSON →
library2.2.5+incompatiblegogounverified

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.

go get github.com/goadesign/goa
INSTALL
IMPORT
SIG · GOADESIGN-GOA
G
goadesign-goa
web-frameworkgov2.2.5+incompatible
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

goa
github.com/goadesign/goa

Minimal Goa service with a single endpoint

package main import ( "context" "log" "net/http" "github.com/goadesign/goa" ) func main() { svc := goa.New("my-service") svc.Handle("GET", "/", func(ctx context.Context, rw http.ResponseWriter, req *http.Request) error { return svc.Send(ctx, rw, "Hello, Goa!") }) log.Fatal(http.ListenAndServe(":8080", svc.Mux)) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.2.5+incompatiblelatest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
goadesign-goa — go get goadesign-goa · libregistry