zeekayandHanzo Dev 875713e70c Go 1.27.1, and the code it can say more simply
Modules declare go 1.27.1 and the build images follow. go fix applied the
modernizers; omitzero is not applied, since it changes what the JSON says.

Co-authored-by: Hanzo Dev <[email protected]>
2026-09-16 18:41:45 -07:00
2026-06-28 20:57:04 -07:00
2026-08-21 00:11:07 -07:00
2026-08-20 20:13:01 -07:00
2026-08-20 20:13:01 -07:00
2026-01-08 23:44:33 -08:00
2025-08-18 13:18:24 -05:00
2026-06-28 20:57:05 -07:00

mock

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.

S
Description
Mock utilities and testing helpers for the Lux ecosystem
Readme MIT
43 KiB
Languages
Go 100%