Registry / utility / swaggest-usecase

swaggest-usecase

JSON →
library1.3.1gogounverified

A Go package for defining use case interactors in clean architecture applications.

go get github.com/swaggest/usecase
INSTALL
IMPORT
SIG · SWAGGEST-USECASE
S
swaggest-usecase
utilitygov1.3.1
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.

usecase
github.com/swaggest/usecase

Creates a new use case interactor with a handler function.

package main import ( "context" "fmt" "github.com/swaggest/usecase" ) func main() { u := usecase.NewInteractor(func(ctx context.Context, input interface{}, output interface{}) error { fmt.Println("Executing use case") return nil }) u.SetDescription("Example use case") }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.3.1latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Amazon
1
Resources
swaggest-usecase — go get swaggest-usecase · libregistry