☰
Debian Codegraph
@
1.1.3+ds1-1
/
/
types
/
split.go
☽
☼
types/split.go
code
plain
raw
symbols
SCIP
Expat
2015 Tomás Aparicio <
[email protected]
>
debian/copyright
1
package
types
2
3
import
"strings"
4
5
func
splitMime(s
string
) (
string
,
string
) {
6
x := strings.
Split
(s,
"/"
)
7
if
len(x) >
1
{
8
return
x[
0
], x[
1
]
9
}
10
return
x[
0
],
""
11
}