mirror of
https://github.com/Threnklyn/jira.git
synced 2026-05-18 20:23:28 +02:00
23 lines
397 B
Go
23 lines
397 B
Go
package jira
|
|
|
|
import (
|
|
"github.com/coryb/oreo"
|
|
logging "gopkg.in/op/go-logging.v1"
|
|
)
|
|
|
|
var log = logging.MustGetLogger("jira")
|
|
|
|
const VERSION = "1.0.17"
|
|
|
|
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(),
|
|
}
|
|
}
|