mirror of
https://github.com/Threnklyn/jira.git
synced 2026-05-18 20:23:28 +02:00
20 lines
319 B
Go
20 lines
319 B
Go
package jira
|
|
|
|
import (
|
|
"github.com/coryb/oreo"
|
|
)
|
|
|
|
const VERSION = "1.0.22"
|
|
|
|
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(),
|
|
}
|
|
}
|