drone/internal/gitrpc/wire.go
Enver Bisevac 1cf07b6417 initial work on create repository (#27)
* initial work on create repository

* create repository as single method call using client stream

* resources handler and files

* minor fix for wire dep graph
2022-10-11 17:48:04 +02:00

13 lines
225 B
Go

package gitrpc
import "github.com/google/wire"
// WireSet provides a wire set for this package.
var WireSet = wire.NewSet(
ProvideClient,
)
func ProvideClient() (Interface, error) {
return InitClient("localhost:5001")
}