Documentation ¶
Index ¶
Constants ¶
View Source
const Program = "mkunion"
Variables ¶
This section is empty.
Functions ¶
func Comment ¶
func Comment(g *ast.CommentGroup) string
Comment implementation was copied from func (g *CommentGroup) Text() string and reduced return all comments lines. In contrast to original implementation that skips declaration comments like "//go:generate" which is important for inferring union types.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.