grim/govcs

remove the Bookmark method from git
draft
2017-12-27, Gary Kramlich
e3e0b8f91448
remove the Bookmark method from git
# govcs
govcs is a simple abstraction layer around version control tools. It currently
supports Git and Mercurial. With it you can get information about the
repository including remotes, branches, commits, etc.
[![GoDoc](https://godoc.org/bitbucket.org/rw_grim/govcs?status.svg)](https://godoc.org/bitbucket.org/rw_grim/govcs)
# License
GPLv3
# Installation
go get bitbucket.org/rw_grim/govcs
# Example
This simple example will output the default remote for the repository in the
`my-src-dir` directory.
package main
import(
"fmt"
"bitbucket.org/rw_grim/govcs"
)
func main() {
vcs, err := govcs.Dectect("my-src-dir")
if err != nil {
panic(err)
}
fmt.Printf("remote: %s\n", vcs.Remote(""))
}