Documentation ¶ Overview ¶ gosh will take go code entered as a command line parameter and wrap it in a main() function. Then it will use gofmt (or goimports if it is installed) to format the code and lastly call go run to compile and run the code. Source Files ¶ View all Source files addExamples.go addNotes.go addParams.go addReferences.go doc.go filenameHandler.go gosh.go main.go moduleMapSetter.go paramEditor.go setConfigFile.go shebang.go snippetList.go writeProg.go Click to show internal directories. Click to hide internal directories.