Macaroon - Go Macros & Preprocessor 
Add C style macros to code in Go. Not to be confused with go-macaroon/macaroon about “Cookies with Contextual Caveats for Decentralized Authorization in the Cloud”.
Quick Start
Use the set
keyword to define the value of a simple macro.
Before
package main
#set NAME "jake"
func main() {
fmt.Println(NAME)
}
After
package main
func main() {
fmt.Println("jake")
}
Running
macaroon main.gomac && go build