For client-side encryption, you do not need to install a different driver. You can install the Go driver using Go modules as documented at GitHub - mongodb/mongo-go-driver: The Official Golang driver for MongoDB and then install libmongocrypt. After everything is installed, you can put either of the examples I linked earlier in your application and everything should work if you compile with -tags cse.
1 Like