[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#984558: ITP: golang-k8s-gengo -- gengo library for code generation.



Package: wnpp
Severity: wishlist
Owner: Arthur Diniz <arthurbdiniz@gmail.com>

* Package name    : golang-k8s-gengo
  Version         : 0.0~git20210203.de9496d-1
  Upstream Author : Kubernetes
* URL             : https://github.com/kubernetes/gengo
* License         : Apache-2.0
  Programming Lang: Go
  Description     : gengo library for code generation.

 A package for generating things based on go files. This mechanism was
 first used in Kubernetes and is split out here for ease of reuse and
 maintainability.
 .
 go get k8s.io/gengo/...  Examples A set generator, deep-copy generator,
 defaulter generator and go-to-protobuf generator are included here. Also,
 import-boss will enforce arbitrary rules about import trees.
 .
 We don't directly use the go types in the go typecheck library because
 they are based on implementing differing interfaces. A struct-based
 format is more convenient input for template driven output.  parser/
 Package parser parses go source files.  namer/ Package namer defines a
 naming system, for: * helping you reference go objects in a syntactically
 correct way * keeping track of what you reference, for importing the
 right packages * and defining parallel tracks of names, for making public
 interfaces and private implementations.


Reply to: