update
parent
18edc740ee
commit
fab98f88f4
|
@ -46,7 +46,14 @@ func (h *History) Grp(grp string) *History {
|
||||||
h.Group = grp
|
h.Group = grp
|
||||||
return h
|
return h
|
||||||
}
|
}
|
||||||
func (h *History) Scp(sco string) *History {
|
func (h *History) Scp(scp string) *History {
|
||||||
h.Scope = sco
|
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
|
return h
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue