From dc457ed727dad1579d828735d7925e68c50521e8 Mon Sep 17 00:00:00 2001 From: mqy Date: Tue, 14 Jul 2020 13:42:26 +0800 Subject: [PATCH] Fix parameters of vol.Init() in doc.go --- gfapi/doc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gfapi/doc.go b/gfapi/doc.go index 88759c0..59c4345 100644 --- a/gfapi/doc.go +++ b/gfapi/doc.go @@ -5,7 +5,7 @@ // // To use gfapi, a virtual volume must be initialized and mounted first. // vol := &gfapi.Volume{} -// e := vol.Init("hostname", "volume") +// e := vol.Init("volume", "hostname") // e := vol.Mount() // // Once the virtual volume is mounted, the vol object can be used like the os package to perform file operations.