basename

basename

[code=golang]
func Basename(path string) string {
	return filepath.Base(path)
}
[/code]