Copying a file
Files / Basic operations
Checking whether a file exists
Deleting a file
Copying a file
Moving a file
Getting file properties
Creating a directory
Deleting a directory
Deleting a non-empty directory
Copying a directory
Listing files in a directory
Joining path components
Copying a file
This example is in the full version, available in the stores below:
Golang Recipes
App Store
Code Recipes
App Store
Already bought it? Sign in to your account
Languages
Python
C
C++
Java
C#
JavaScript
R
Rust
Delphi
PHP
Ruby
Swift
Kotlin
Lua
TypeScript
Clojure
Bash
Objective-C