avct / uasurfer

Go package for fast and reliable abstraction of browser user agent strings.
Other
342 stars 76 forks source link

added go modules #58

Open Saur4ig opened 5 years ago

Saur4ig commented 5 years ago

go 1.13 - released, so here is go mod

erikdubbelboer commented 5 years ago

It's probably better to change the import path in main.go to github.com/avct/uasurfer so it doesn't have any external dependencies at all.

Or this needs to be added to each file: package uasurfer // import "code.avct.io/uasurfer". But I'm sure that will break a LOT of builds of people who are using the github import path right now.

ryanslade commented 4 years ago

@Saur4ig Thanks. I've changed the import in main.go now as suggested by @erikdubbelboer

Please can you update the go.mod file as this library no longer has any external deps.

Thanks

moqmar commented 3 years ago

Any update on this?