1
0
mirror of https://github.com/magefile/mage.git synced 2026-10-24 06:19:18 +03:00
Files
mage/parse/testdata/repeating_synopsis.go
Sunny 63768081a3 parse: sanitize function doc synopsis (#95)
This change adds `sanitizeSynopsis()` function to perform basic
sanitization on the synopsis. If synopsis begins with the function name, it
removes the function to avoid repeating words.
2017-12-29 07:42:55 -05:00

10 lines
156 B
Go

// +build mage
package main
// RepeatingSynopsis chops off the repeating function name.
// Some more text.
func RepeatingSynopsis() error {
return nil
}