1 package urn 2 3 type Option func(Machine) 4 5 func WithParsingMode(mode ParsingMode) Option { 6 return func(m Machine) { 7 m.WithParsingMode(mode) 8 } 9 } 10
View as plain text