Skip to content

GeorgeMac/whittle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Releases

No releases published

Packages

No packages published

Languages