https://www.boundaryml.com logo
🟡 Using BAML with Go on Windows without CGO
# questions
c
Hi! I'm trying to use BAML with Go on Windows and running into issues. From the docs, it seems my only options are: 1. Use REST/OpenAPI (marked as preview feature) 2. Use native Go client with CGO (but requires Unix - fails on Windows with "dlfcn.h: No such file or directory") Is there a way to use the native Go client on Windows without CGO? Or is REST the recommended approach for Windows development?
v
oh!
thanks for flagging this
I'll have to debug and see where we use that, go native should be compatible with windows, but we hadn't tested that as other users have been sticking to linux prior
i'll need to test it on an actual windows machine myself (which i don't have, but it does appear work!)
hopefully this means on the next release 0.212.0 windows go will work 🙂