1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-04-02 22:05:46 +02:00
goreleaser/split/split.go

9 lines
142 B
Go
Raw Normal View History

2016-12-30 09:48:06 -02:00
package split
import "strings"
func OnSlash(pair string) (string, string) {
parts := strings.Split(pair, "/")
return parts[0], parts[1]
}