File: fix-example-import.patch

package info (click to toggle)
golang-github-cenk-hub 1.0.0%2Bgit20160321.17.b864404b5f99-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 92 kB
  • ctags: 31
  • sloc: makefile: 2
file content (23 lines) | stat: -rw-r--r-- 582 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From 9256ea22dbaac3dcf5f0d17d51e70267047a250f Mon Sep 17 00:00:00 2001
From: Vincent Bernat <vincent@bernat.im>
Date: Fri, 27 May 2016 12:30:54 +0200
Subject: [PATCH] Fix import in example_test.go

The example was using the previous URL for import.
---
 example_test.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/example_test.go b/example_test.go
index 74c79be..ea6fb5f 100644
--- a/example_test.go
+++ b/example_test.go
@@ -3,7 +3,7 @@ package hub_test
 import (
 	"fmt"
 
-	"github.com/cenkalti/hub"
+	"github.com/cenk/hub"
 )
 
 // Different event kinds