Skip to content

Buf resolver for github.com/bufbuild/protocompile

License

Notifications You must be signed in to change notification settings

k1LoW/bufresolv

Repository files navigation

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

Usage

r, _ := bufresolv.New(bufresolv.BufDir("path/to/bofroot"))
comp := protocompile.Compiler{
	Resolver: protocompile.WithStandardImports(r),
}
fds, _ := comp.Compile(ctx, r.Paths()...)

References

  • bufbuild/buf: The best way of working with Protocol Buffers.

About

Buf resolver for github.com/bufbuild/protocompile

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published

Contributors 3

  •  
  •  
  •