gin icon indicating copy to clipboard operation
gin copied to clipboard

What is the point of the generated binary?

Open ecbrodie opened this issue 7 years ago • 3 comments

Excuse me if this is too noob of a question or it is misplaced (ie, binary generation is just a normal thing in GoLang).

I would like to know about what the point is of the generated binary gin-bin. Why does a binary need to be generated? After I install gin, I just run the tool with gin run main.go without any issue. ./gin-bin run main.go doesn't work.

Thank you.

ecbrodie avatar May 14 '18 05:05 ecbrodie

@codegangsta shameless poke, since it has been 3 weeks :S

ecbrodie avatar Jun 03 '18 17:06 ecbrodie

I think it's a built version of your app

You can try have it build to a temporary directory - out of sight out of mind

gin -b $TEMP/gin-projectname

alshdavid avatar Aug 08 '18 03:08 alshdavid

Why gin is not creating it as temporary file by default instead? It seems this file is not necessary in root of the project.

Xarvalus avatar Dec 15 '18 21:12 Xarvalus