whittle

module
v0.0.0-...-fbd1831 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2017 License: MIT

README

Whittle - Go Code Generation Tools + Libraries

Opinionated Code Generators For Golang

Go Report Card

Commands

  1. options for generating functional options for struct definitions
  2. table for generating boiler plate for table driven tests

e.g.

Functional options for your types

//go:generate whittle options -type TypeToGeneratorFor

Table driven tests

whittle table -type TypeToGenerateFor

Ideas Roadmap

  • generation of table drive test cases
  • explore generation of implementations for interfaces, with quick mock generation in mind.
  • quick "constructor" style function insertion, with support for functional options.

Directories

Path Synopsis
cmd
lib

Jump to

Keyboard shortcuts

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