Skip to content

mangeshhendre/gooracle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 

Repository files navigation

gooracle

Connecting to Oracle

Set up for windows:

  1. Install Go 32 bit version

  2. Install Oracle instant client 32bit version

  3. Install TDM-GCC-32

  4. pkg-config setup

  5. Create the oci8.pc file

    • Add the oci8.pc file to C:\pkg-config\config
    • Set PKG_CONFIG_PATH environemnt variable to C:\pkg-config\config

    oci8.pc file

    libdir=C:/instantclient_12_2_32/sdk/lib/msvc
    includedir=C:/instantclient_12_2_32/sdk/include
    
    glib_genmarshal=glib-genmarshal
    gobject_query=gobject-query
    glib_mkenums=glib-mkenums
    
    Name: oci8
    Description: oci8 library
    Libs: -L${libdir} -loci
    Cflags: -I${includedir}
    Version: 12.2
    

Install Oracle Driver

go get gopkg.in/rana/ora.v4

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages