Contact: aviboots(AT)netvision.net.il
39,845 questions
51,766 answers
573 users
package main import ( "fmt" "path/filepath" ) func main() { path := "example/path/project/" cleanedPath := filepath.Clean(path) fmt.Println(cleanedPath) } /* run: example/path/project */