you can see my project go-ora it is a pure go oracle client
https://github.com/sijms/go-ora




في الأربعاء، 22 يوليو 2015 في تمام الساعة 11:10:37 م UTC+3، كتب 
oldCoderException رسالة نصها:

> Much appreciated Rich,
>
> As you astutely hinted, we're deploying to a server that doesn't have the 
> oracle client installed, and don't want to get into more "disparate bits" 
> that we don't fully understand for one tiny bit of a large application.  
> Anyway, we've decided that, since we're using a microservice oriented 
> design, that simply this one little microservice will have to be done in 
> Java.  Most of our established code base over the last 15+ years is Java 
> anyway so it's not at all unusual for us.  We're just transitioning new dev 
> to Go.  As mentioned, Oracle isn't our "shtick" at all.  Our own stuff all 
> uses PostgreSQL, for which we are now using lib/pq, and with great success 
> I might add.  Since this one interface isn't our database however, we don't 
> have a choice, and will simply do this bit in Java, which we've done many 
> times before.
>
> Thank you all for your input and discussion.  Maybe Oracle will get on 
> board some day and do an Oracle Go driver (yeah... right).  ;)
>
> cheers,
>
> On Wed, Jul 22, 2015 at 12:47 PM, Rich <rma...@gmail.com> wrote:
>
>> If you're going to be using Linux, I've had no problems with the CGO 
>> version of the oracle driver developed by Mattn: 
>> https://github.com/mattn/go-oci8.  I had a situation where we wanted a 
>> tool that could be used from the command line with the passwords and 
>> connection information hard coded, so the user could just run a command 
>> like: sqlrun -l dbuser -q "select * from database" and have the results 
>> look decent.  The -l is the login the -q is the query. Passwords and other 
>> information required to make the connection are hidden and read only.  I am 
>> not a programmer by trade, I am a Linux sysadmin and If I can write a tool 
>> like that using Mattn's Oracle -- anyone can.  The only reason I could see 
>> to want a Go only program would be to port that to a server that didn't 
>> have the client installed, or if you're cross compiling.   That being said 
>> I'll offer my code after I clean out the proprietary stuff if you want it.  
>> Might help in getting your app written.
>>
>> Thanks, Rich
>>
>>
>> On Wednesday, July 22, 2015 at 1:36:34 AM UTC-4, brainman wrote:
>>>
>>> On Wednesday, 22 July 2015 04:33:25 UTC+10, Robert Johnstone wrote:
>>> > You can get ODBC support for linux as well. I've used ODBC with 
>>> success in Go, ...
>>>
>>> Sure. I use freetds on linux to access ms sql server myself. But 
>>> oldCoderException is looking for "non-cgo" solution. So that makes 
>>> solutions like unixODBC unacceptable for oldCoderException.
>>>
>>> Alex
>>>
>> -- 
>>
> You received this message because you are subscribed to a topic in the 
>> Google Groups "golang-nuts" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/golang-nuts/RNC0JwZDQtw/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to 
>> golang-nuts...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/95acdbbf-1747-454b-8248-20b1f3c92f71n%40googlegroups.com.

Reply via email to