Test Failed
Push — master ( 2f8cd9...4364b8 )
by iLex
01:33
created

hkid_result.go (1 issue)

Severity
1
package hkid
2
3
type result struct {
4
	hkid  *hkid
5
	Valid bool
6
}
7
8
func (h *result) GetPart1() string {
9
	return h.hkid.GetPart1()
10
}
11
12
func (h *result) GetPart2() string {
13
	return h.hkid.GetPart2()
14
}
15
16
func (h *result) GetPart3() string {
17
	return h.hkid.GetPart3()
18
}
19
20
func (h *result) Format() string {
21
	return h.hkid.Format()
22
}
23
24
func NewHkidResultWithValid(hkid *hkid, valid bool) *result {
0 ignored issues
show
exported func NewHkidResultWithValid returns unexported type *hkid.result, which can be annoying to use
Loading history...
25
	return &result{hkid: hkid, Valid: valid}
26
}
27