add base URL parsing
This commit is contained in:
parent
6e0049c4d2
commit
4b38af88a4
@ -41,3 +41,6 @@ func (i ID) Extension() (exttype string, fileext string) {
|
|||||||
return exttype, fileext
|
return exttype, fileext
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (i ID) IsEmpty() bool {
|
||||||
|
return i == ""
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user