Skip to content

Latest commit

 

History

History

server

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Example

To start using this module, you can try the example server.go

This example is using sqlite as the datastore. If you want to change the database, please read gorm docs for connecting to database here

To run the application, simply use:

$ go run example/server/server.go

❗ If you want to accept payment callback from the payment gateway on your local computer for development purpose, consider to use ngrok.io to expose your localhost to the internet and update the callback base URL in all url environment variables.