Rookout Go SDK
Rookout's Go SDK is a Go module that supports on the fly debugging and data extraction from Go applications in production.
Compatibility
Go versions 1.15 and higher are supported.
Linux (including Alpine) and Mac operating systems are supported.
Installation
Add the Rookout SDK by running:
go get -d github.com/Rookout/GoSDK
Usage
Import Rookout in the file containing your main
package:
import (
rookout "github.com/Rookout/GoSDK"
)
Call rookout.Start
as early as possible in your main
function:
rookout.Start(rookout.RookOptions{token=[Your Rookout Token]})
For the best experience, build your application with extra debug info:
go build -gcflags="all=-dwarflocationlists=true"
Additional Information
For more info see the complete setup guide in our docs.