Skip to content

Local proto file resolver for github.com/bufbuild/protocompile

License

Notifications You must be signed in to change notification settings

k1LoW/protoresolv

Repository files navigation

Local proto file resolver for github.com/bufbuild/protocompile Go Reference build Coverage Code to Test Ratio Test Execution Time

Usage

importPaths := []string{"path/to/your/proto"}
r, _ := protoresolv.New(protoresolv.New(importPaths)
comp := protocompile.Compiler{
	Resolver: protocompile.WithStandardImports(r),
}
fds, _ := comp.Compile(ctx, r.Paths()...)

About

Local proto file resolver for github.com/bufbuild/protocompile

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published

Contributors 3

  •  
  •  
  •