Go

The Go badge, lettered “Simple · Concurrent · if err != nil” round its band
Files
.go
Formats as
gofmt
Lints
Every rule that reads its code
In ur.toml
[format.go]

Formatted

cart.go, as written
package cart

// What a cart costs.
type Item struct { Name string; Price int; Quantity int }
func Subtotal(items []Item) int {
    sum:=0
    for _,item:=range items { sum+=item.Price*item.Quantity }
    return sum
}
ur format --style gofmt cart.go
package cart

// What a cart costs.
type Item struct {
	Name     string
	Price    int
	Quantity int
}

func Subtotal(items []Item) int {
	sum := 0
	for _, item := range items {
		sum += item.Price * item.Quantity
	}
	return sum
}

Try it in the playground →

Versions

Ur reads Go as the profiles below name it. Name the versions a project targets in target; without it, Ur reads go-1.27.

ProfileDialect
go-1.0Gc
go-1.9Gc
go-1.13Gc
go-1.18Gc
go-1.24Gc
go-1.27Gc