apple / pkl-go

Pkl bindings for the Go programming language
https://pkl-lang.org/go/current/index.html
Apache License 2.0
249 stars 21 forks source link

Add a newline after license comments to stop rendering with `go doc` #49

Closed KushalP closed 2 months ago

KushalP commented 2 months ago

The license comments are being rendered as part of go doc to https://pkg.go.dev/github.com/apple/pkl-go/pkl

By adding a new line between the package directive and the license comments, these lines stop rendering.

Before

❯ go doc -all pkl | wc -l
    1077

After

❯ go doc -all pkl | wc -l
     793