ivanzoid
9/8/2018 - 4:13 PM

Golang filename without path.go

package main

import (
	"path/filepath"
)

func fileNameWithoutPath(fileName string) string {
	return filepath.Base(fileName)
}