This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original Reference : https://medium.com/@arisandyrico/oracle-in-linux-xampp-aaefae236bd4 | |
1. Install Oracle Instant Client | |
First you need to install Oracle Instant Client which you can find here https://www.oracle.com/database/technologies/instant-client/downloads.html. Download at least for Basic with description OCI support, and SDK/Devel. For easy use, I download it RPM then install it using “alien” command. | |
( I Downloaded OL8 RPM ) | |
sudo alien -i oracle-instantclient-basic-21.3.0.0.0-1.el8.x86_64.rpm | |
sudo alien -i oracle-instantclient-devel-21.3.0.0.0-1.el8.x86_64.rpm | |
*note : -i for install |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"github.com/gorilla/mux" | |
"github.com/gorilla/securecookie" | |
"net/http" | |
) | |
// cookie handling |