Files
jira/jira.go
T
2020-09-11 10:50:22 -04:00

21 lines
344 B
Go

package jira
import (
"github.com/coryb/oreo"
)
// replace by ldflags
var VERSION = "development"
type Jira struct {
Endpoint string `json:"endpoint,omitempty" yaml:"endpoint,omitempty"`
UA HttpClient `json:"-" yaml:"-"`
}
func NewJira(endpoint string) *Jira {
return &Jira{
Endpoint: endpoint,
UA: oreo.New(),
}
}