MCPcopy Index your code
hub / github.com/box-cli-maker/box-cli-maker / NewBox

Function NewBox

box.go:57–61  ·  view source on GitHub ↗

NewBox creates a new Box with the box.Single style preset applied.

()

Source from the content-addressed store, hash-verified

55
56// NewBox creates a new Box with the box.Single style preset applied.
57func NewBox() *Box {
58 b := &Box{}
59 b.Style(Single)
60 return b
61}
62
63// Copy returns a shallow copy of the Box so further mutations do not affect the original.
64//

Calls 1

StyleMethod · 0.95