Skip to content

gorun fmt #8

@ericcurtin

Description

@ericcurtin

A C/C++ programmer primarily, looking to learn something new, golang! One of the things I first thought is what great potential it had as a statically typed scripting language! And I really like how you cache compiled binaries here, pretty cool.

Anyway long story short... I'd like to introduce a "gorun fmt" option to format my gorun scripts... Because if you pass through normal go fmt it doesn't like the shebang of course:

go fmt hello_world.go 
can't load package: package main: 
hello_world.go:1:1: illegal character U+0023 '#

If I open a PR would you except a "gorun fmt" option? Don't want to waste effort if it wouldn't be accepted!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions