Registry / testing / otokaze-mock

otokaze-mock

JSON →
library1.1.1gogounverified

A Go mocking library for generating test doubles and stubs.

go get github.com/otokaze/mock
INSTALL
IMPORT
SIG · OTOKAZE-MOCK
O
otokaze-mock
testinggov1.1.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.

mock
✓ github.com/otokaze/mock

Creates a mock object and sets up an expectation.

package main import ( "fmt" "github.com/otokaze/mock" ) func main() { m := mock.New() m.On("Method").Return("result") fmt.Println(m.Called("Method")) }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
otokaze-mock — go get otokaze-mock · libregistry