mirror of
https://github.com/luxfi/mock.git
synced 2026-09-24 00:24:00 +00:00
053ff404bbb7d678114930315942a2df2770637f
LLM.md is the source and stays the source; CLAUDE.md is a symlink to it, so there is one file and it cannot drift from itself. What changes is that the link is committed rather than left for each checkout to recreate. Left untracked, the doc was conditional on a step outside the repo: a fresh clone had no CLAUDE.md, nothing loaded LLM.md, and an agent worked here having never read what this repo already explains. Most of the estate already tracks theirs; this is the rest agreeing with them.
Lux Mock Library
Centralized mock utilities and helpers for the Lux ecosystem.
Features
- GoMock utilities: Simplified gomock controller and matcher utilities
- Mock generators: Tools for generating mocks
- Test helpers: Common testing utilities
Installation
go get github.com/luxfi/mock
Usage
import (
"github.com/luxfi/mock/gomock"
)
func TestExample(t *testing.T) {
ctrl := gomock.NewController(t)
defer ctrl.Finish()
// Use your mocks here
}
Generating Mocks
Use the standard mockgen tool:
mockgen -source=interface.go -destination=mocks/mock_interface.go -package=mocks
License
See the LICENSE file for licensing terms.
Languages
Go
100%