aboutsummaryrefslogtreecommitdiffstats
path: root/_examples
diff options
context:
space:
mode:
Diffstat (limited to '_examples')
-rw-r--r--_examples/common_test.go3
-rw-r--r--_examples/storage/README.md2
2 files changed, 2 insertions, 3 deletions
diff --git a/_examples/common_test.go b/_examples/common_test.go
index 5543eaf..ff01ba3 100644
--- a/_examples/common_test.go
+++ b/_examples/common_test.go
@@ -2,7 +2,6 @@ package examples
import (
"flag"
- "fmt"
"go/build"
"io/ioutil"
"os"
@@ -96,7 +95,7 @@ func createBareRepository(dir string) string {
func setEmptyRemote(dir string) string {
remote := createBareRepository(tempFolder())
- setRemote(dir, fmt.Sprintf("file://%s", remote))
+ setRemote(dir, remote)
return dir
}
diff --git a/_examples/storage/README.md b/_examples/storage/README.md
index 02b68da..b7207ee 100644
--- a/_examples/storage/README.md
+++ b/_examples/storage/README.md
@@ -1,4 +1,4 @@
-#go-git + aerospike: a git repository backed by a database
+# go-git + aerospike: a git repository backed by a database
<img src="https://upload.wikimedia.org/wikipedia/en/2/2b/Aerospike_logo.png" align="right"/> This is an example of a [go-git](https://github.com/src-d/go-git) repository backed by [Aerospike](http://www.aerospike.com/).