{"id":53797,"library":"otokaze-mock","title":"Otokaze Mock","description":"A Go mocking library for generating test doubles and stubs.","status":"active","version":"1.1.1","language":"go","source_language":null,"source_url":"https://github.com/otokaze/mock","tags":["mock","testing","stub","test-doubles"],"install":[{"cmd":"go get github.com/otokaze/mock","lang":"bash","label":"Install github.com/otokaze/mock"}],"dependencies":[],"imports":[{"symbol":"mock","correct":"github.com/otokaze/mock"}],"quickstart":{"code":"package main\n\nimport (\n\t\"fmt\"\n\t\"github.com/otokaze/mock\"\n)\n\nfunc main() {\n\tm := mock.New()\n\tm.On(\"Method\").Return(\"result\")\n\tfmt.Println(m.Called(\"Method\"))\n}","lang":"go","description":"Creates a mock object and sets up an expectation."},"warnings":[],"env_vars":null,"search_vec":"'doubl':10,18 'generat':8 'go':4 'librari':6 'mock':2,5,13 'otokaz':1 'stub':12,15 'test':9,14,17 'test-doubl':16","created_at":"2026-06-15T07:55:26.729049+00:00","updated_at":"2026-06-15T07:55:26.729049+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/otokaze/mock","github":"https://github.com/otokaze/mock","docs":"https://pkg.go.dev/github.com/otokaze/mock#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["testing"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-15","next_check":"2026-12-12","install_tag":null}}