pkl icon indicating copy to clipboard operation
pkl copied to clipboard

Why does LoadFromPath() function of generated .pkl.go file needs .pkl file at runtime when there is already generated .pkl.go files.

Open hnrNeha opened this issue 3 months ago • 2 comments

Iam using pkl files for config and generated go files for it. In the process of loading config Iam using LoadFromPath() this function expects a pkl file as parameter so for this I need to have pkl executable in my system.My query is when we are already generating go file from pkl why do we need to give pkl file path again.Is there any way to load pkl files from generated code without giving path to .pkl file??

hnrNeha avatar Mar 28 '24 11:03 hnrNeha