You've already forked goreleaser
mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-07-05 00:59:04 +02:00
11 lines
145 B
Go
11 lines
145 B
Go
![]() |
package ext
|
||
|
|
||
|
import "strings"
|
||
|
|
||
|
func For(platform string) (ext string) {
|
||
|
if strings.HasPrefix(platform, "windows") {
|
||
|
ext = ".exe"
|
||
|
}
|
||
|
return
|
||
|
}
|