fmt

command
v0.0.0-...-3bfe4c5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 26, 2025 License: MIT Imports: 1 Imported by: 0

README

Go fmt

You can format the code using the go fmt command go fmt unformatted.go.

It will update the code to match the standard formatting conventions.

The output:

package main

import "fmt" 

func main() {
        msg := "Hello" 

        fmt.Println(msg)
}

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL