MCPcopy Create free account
hub / github.com/fogleman/primitive / Set

Method Set

main.go:58–62  ·  view source on GitHub ↗
(value string)

Source from the content-addressed store, hash-verified

56}
57
58func (i *shapeConfigArray) Set(value string) error {
59 n, _ := strconv.ParseInt(value, 0, 0)
60 *i = append(*i, shapeConfig{int(n), Mode, Alpha, Repeat})
61 return nil
62}
63
64func init() {
65 flag.StringVar(&Input, "i", "", "input image path")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected