New creates, initializes and then returns a new Kite instance. Version must be in 3-digit semantic form. Name is important that it's also used to be searched by others.
(name, version string)
| 161 | // |
| 162 | // Name is important that it's also used to be searched by others. |
| 163 | func New(name, version string) *Kite { |
| 164 | return NewWithConfig(name, version, config.New()) |
| 165 | } |
| 166 | |
| 167 | // NewWithConfig builds a new kite value for the given configuration. |
| 168 | func NewWithConfig(name, version string, cfg *config.Config) *Kite { |