Working with files and I/O / File path operations

Run Settings
LanguageGo
Language Version
Run Command
package main import ( "fmt" "path/filepath" ) func main() { path := filepath.Join("dir", "file.txt") file := filepath.Base(path) fmt.Printf("path: %s, file: %s\n", path, file) }
Editor Settings
Theme
Key bindings
Full width
Lines