pamgen

command module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 19, 2022 License: MIT Imports: 18 Imported by: 0

README

PAMGen gomock compatible mock generator

PAMGen means "Proto Aware Mock Generator". This means the thing is aware of what proto.Messages are and how to compare them.

Installation

go install github.com/sirkon/pamgen@latest

Usage

pamgen -s io -d io_mock.go -p mocks Reader # generate a mock for io.Reader in the ./io_mock.go
pamgen -d current_mock.go # generate mocks for all interfaces of package placed in the current directory

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal
app

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL