Adjust go.mod for all the examples to use the same dependency version as the library. This ensures the examples are working and can be helpful references for learning how to use otelchi.
Use the relative path for the otelchi library inside go.mod in all of the examples. This way, we don't need to wait for a new otelchi release to create a proper working example.
Adjust the context build for all the examples. This is the consequence of using a relative path for the otelchi library inside go.mod.
Execute example building test on make test command. This will make the test build command for all examples will be tested in the CI & local test. See here for details.
Changes Summary:
go.mod
for all the examples to use the same dependency version as the library. This ensures the examples are working and can be helpful references for learning how to use otelchi.go.mod
in all of the examples. This way, we don't need to wait for a new otelchi release to create a proper working example.go.mod
.make test
command. This will make the test build command for all examples will be tested in the CI & local test. See here for details.