At the risk of embarrassing myself, I've put a small client library with just a subset of the functionality I was originally after on github.
https://github.com/philipsoutham/golucy
I'm new to Go, so I'm still not sure what is "go-thonic" way of doing
things is yet. I would love for it to be as complete as the perl
bindings one day, but I'm struggling with tracking down where the magic
happens in the C code for some (actually, a lot of) things. When I get
some more free time, I'll ping the list with specific requests in terms
of where to find certain pieces of functionality. I also took the
liberty of using the Lucy logo in the README.md. Please let me know if I
wasn't supposed to do that or if anyone objects.
Regards,
On 08/23/2013 01:42 PM, Marvin Humphrey wrote:
> Hello, Philip,
>
> On Thu, Aug 22, 2013 at 10:14 PM, Philip Southam <[email protected]> wrote:
>> Had some time to think about it on my long drive home and got it figured
>> out. The key was to add my own "conversion" function in the comment
>> preceding the `import "C"` deceleration as trying to cast from
>> `uint8_t*` to `char*` in the Go code wouldn't work.
>
> Glad to hear that you were able to fight through the problem, and thank you
> for following up to let us know. In retrospect, having Get_Ptr8() return
> `uint8_t*` rather than `char*` was a questionable judgment call. :)
>
>> Now it's time to see if I can implement a "real world" scenario.
>
> Please keep us posted!
>
> Marvin Humphrey
>
--
Philip Southam
Chief Architect / Яeverse Эngineer
http://zefr.com
signature.asc
Description: OpenPGP digital signature
