Skip to content

Instantly share code, notes, and snippets.

Simon Frei imsodin

Block or report user

Report or block imsodin

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View MkDirAll-test.go
package main
import (
"fmt"
"github.com/syncthing/syncthing/lib/fs"
)
func main() {
base := `F:\`
@imsodin
imsodin / readOneDriveDir.go
Last active Nov 25, 2017 — forked from clee231/readOneDriveDir.go
A quick test to read the OneDrive Folder in the current user's home directory. (Based off of: http://www.golangprograms.com/how-to-read-names-of-all-files-and-folders-in-current-directory.html)
View readOneDriveDir.go
package main
import (
"log"
"os"
"fmt"
"os/user"
)
func readCurrentDir() {
usr, err := user.Current()
if err != nil {
You can’t perform that action at this time.