mirror of
https://github.com/Threnklyn/jira.git
synced 2026-05-18 12:13:29 +02:00
31f7b03978
Signed-off-by: ldelossa <ldelossa@redhat.com>
21 lines
344 B
Go
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(),
|
|
}
|
|
}
|