Common functions for go projects.
The documentation is available here: https://pkg.tk-software.de/spartan
package main
import (
"fmt"
"pkg.tk-software.de/spartan/io/file"
)
func main() {
fmt.Printf("Does main.go exist: %t\n", file.Exists("main.go"))
}
spartan © 2023-2024 Tobias Koch. Released under a BSD-style license.