Documentation ¶
Index ¶
Constants ¶
View Source
const ( NomsifyRe = `(?m:^//nomsify (.*)$)` PackageRe = `(?m:^package (\w+)$)` )
We use these regular expressions to inspect go source files and determine what to nomsify
Variables ¶
This section is empty.
Functions ¶
func GeneratedNameFor ¶
GeneratedNameFor returns the path for a generated file based on the input path.
It assumes that the input path is a filename ending in ".go"
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.