1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-03-25 21:29:14 +02:00
goreleaser/split/split.go
Carlos Alexandro Becker f3b4803ee5
code improvements
2016-12-30 09:48:06 -02:00

9 lines
142 B
Go

package split
import "strings"
func OnSlash(pair string) (string, string) {
parts := strings.Split(pair, "/")
return parts[0], parts[1]
}