master
Evan Chen 2021-12-17 17:03:56 +08:00
parent 18edc740ee
commit fab98f88f4
1 changed files with 9 additions and 2 deletions

View File

@ -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
}