github.com/tickoalcantara12/micro/v3@v3.0.0-20221007104245-9d75b9bcbab9/service/build/build.go (about) 1 package build 2 3 import ( 4 "io" 5 ) 6 7 // DefaultBuilder implementation. Note: we don't set the client here as that would result in a 8 // circular dependancy. This isn't an issue with other interfaces as they're normally defined in 9 // go-micro. Profiles should configure this builder but clients of this package should handle the 10 // nil value case. 11 var DefaultBuilder Builder 12 13 // Builder is an interface for building packages 14 type Builder interface { 15 // Build a package 16 Build(src io.Reader, opts ...Option) (io.Reader, error) 17 }