Skip to content

Commit 6fc5e1d

Browse files
BenFradetbenjben
authored andcommitted
Move the Go codebase to its own repository (closes #198)
1 parent a691fd9 commit 6fc5e1d

File tree

9 files changed

+2
-9347
lines changed

9 files changed

+2
-9347
lines changed

README.md

Lines changed: 2 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -161,45 +161,11 @@ Check out the dedicated repository: https://github.com/snowplow-referer-parser/p
161161

162162
## Usage: Go
163163

164-
The Go version of this library uses the updated API:
165-
166-
```go
167-
package main
168-
169-
import (
170-
"log"
171-
172-
"github.com/snowplow/referer-parser/go"
173-
)
174-
175-
func main() {
176-
referer_url := "http://www.google.com/search?q=gateway+oracle+cards+denise+linn&hl=en&client=safari"
177-
r := refererparser.Parse(referer_url)
178-
179-
log.Printf("Known:%v", r.Known)
180-
log.Printf("Referer:%v", r.Referer)
181-
log.Printf("Medium:%v", r.Medium)
182-
log.Printf("Search parameter:%v", r.SearchParameter)
183-
log.Printf("Search term:%v", r.SearchTerm)
184-
log.Printf("Host:%v", r.URI)
185-
}
186-
187-
```
188-
189-
For more information, please see the Go [README][go-readme]
164+
Check out the dedicated repository: https://github.com/snowplow-referer-parser/golang-referer-parser
190165

191166
## Usage: Erlang
192167

193-
The Erlang port of the library is located [here][erlang-repo].
194-
195-
```erlang
196-
refererparser:start().
197-
refererparser:parse(
198-
<<"http://www.google.com/search?q=gateway+cards&client=safari">>, <<"http://my-web.com">>).
199-
{ok,{referer,search,<<"Google">>, <<"gateway cards">>}}
200-
```
201-
202-
For more information, please see the Erlang [README][erlang-readme]
168+
Check out the dedicated repository: https://github.com/silviucpp/refererparser
203169

204170
## referers.yml
205171

go/LICENSE.txt

Lines changed: 0 additions & 19 deletions
This file was deleted.

go/README.md

Lines changed: 0 additions & 76 deletions
This file was deleted.

0 commit comments

Comments
 (0)