Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //______________________________________________________________________________
- func fileExists(filename string) bool {
- _, err := os.Stat(filename)
- return !errors.Is(err, os.ErrNotExist)
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement