update
parent
18edc740ee
commit
fab98f88f4
|
@ -46,7 +46,14 @@ func (h *History) Grp(grp string) *History {
|
|||
h.Group = grp
|
||||
return h
|
||||
}
|
||||
func (h *History) Scp(sco string) *History {
|
||||
h.Scope = sco
|
||||
func (h *History) Scp(scp string) *History {
|
||||
h.Scope = scp
|
||||
return h
|
||||
}
|
||||
|
||||
// Mod alter the derived module name, and put the original mod to scope
|
||||
func (h *History) Mod(mod string) *History {
|
||||
h.Scope = h.Module
|
||||
h.Module = mod
|
||||
return h
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue