modulepackage
0.0.0-20241029201301-aefead2d0fa5
Repository: https://github.com/bob-cd/resource-git.git
Documentation: pkg.go.dev
# README
Reference Bob Resource: Git
This is a simple external resource enabling Bob to read git repositories.
Requirements
- Go 1.22+
Running
go build main.go
to compile the code and obtain a binarymain
../main
will start on port8000
by default, set the env varPORT
to change.
API
GET /bob_resource
: Takesrepo
andbranch
as params, clones and responds back with a tar of the repo.GET /ping
: Responds with anAck
.