mirror of
https://github.com/magefile/mage.git
synced 2026-10-24 06:19:18 +03:00
19 lines
316 B
Go
19 lines
316 B
Go
//go:build mage
|
|
// +build mage
|
|
|
|
package main
|
|
|
|
import "fmt"
|
|
|
|
// Synopsis for "returns" error.
|
|
// And some more text.
|
|
func ReturnsNilError() error {
|
|
fmt.Println("stuff")
|
|
return nil
|
|
}
|
|
|
|
func nonexported() {}
|
|
|
|
// WithBackticks has a synopsis that includes `backticks` which were a problem once.
|
|
func WithBackticks() {}
|