tableauio / tableau

A modern configuration converter based on Protobuf (proto3).
https://tableauio.github.io
MIT License
32 stars 6 forks source link

tag: can the golang version sync with cpp version? #101

Closed wuboui closed 4 months ago

wuboui commented 5 months ago

cpp version already loads message from custom path, but golang version always relies on param‘s dir

wenchy commented 4 months ago

Can you give more details on this issue? which API, parameter? what you expect to?

Maybe you refer to loader: https://github.com/tableauio/loader

In fact, it was already implemented: https://github.com/tableauio/tableau/blob/85bb0f8888488ba16a96e8daec4f0ae49a6d40e8/load/options.go#L29

https://github.com/tableauio/tableau/blob/85bb0f8888488ba16a96e8daec4f0ae49a6d40e8/load/load.go#L29-L36

The answer is you need to get the latest commit version: go get github.com/tableauio/tableau@<latest-commit>