官术网_书友最值得收藏!

Running a single Go file

You don't have to build a file and get an executable if you only want to run it. The go run option allows you to run the .go file without leaving an executable behind. You can still pass in arguments as if it was a regular executable, like this:

go run example.go arg1 arg2
主站蜘蛛池模板: 弥勒县| 鹤壁市| 武城县| 新建县| 翁牛特旗| 霍林郭勒市| 乐清市| 玉环县| 桓仁| 汉阴县| 封开县| 政和县| 绥化市| 阜宁县| 丰宁| 炎陵县| 区。| 固阳县| 卫辉市| 永州市| 玉门市| 安图县| 汉川市| 马公市| 绥棱县| 常熟市| 汤原县| 蕉岭县| 班戈县| 漾濞| 长宁区| 彝良县| 兴和县| 车致| 平南县| 衡南县| 金寨县| 如东县| 五峰| 延川县| 昭觉县|