Skip to content

Commit 447313d

Browse files
author
morikuni
committed
Update Builder
Add Hide, Show, Report
1 parent 4b6b3a1 commit 447313d

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

builder.go

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,21 @@ func (builder *Builder) Restore() *Builder {
8888
return builder.With(Restore)
8989
}
9090

91+
// Hide is a syntax for Hide.
92+
func (builder *Builder) Hide() *Builder {
93+
return builder.With(Hide)
94+
}
95+
96+
// Show is a syntax for Show.
97+
func (builder *Builder) Show() *Builder {
98+
return builder.With(Show)
99+
}
100+
101+
// Report is a syntax for Report.
102+
func (builder *Builder) Report() *Builder {
103+
return builder.With(Report)
104+
}
105+
91106
// Bold is a syntax for Bold.
92107
func (builder *Builder) Bold() *Builder {
93108
return builder.With(Bold)

0 commit comments

Comments
 (0)