Using Go Agent - Initializing agent and Generating a session ID
Before running the build scan and tests, you must initialize the agent with the token to use and create a session ID.
Initializing the SeaLights CLI
./slcli config init --lang go --token ./sltoken.txt
Generating a session ID
The Build Session uniquely identifies your application's build and associates any coverage (i.e., all test stages and tests) with that specific build. The session ID is provided for each step and command to link them together as one complete cycle.
./slcli config create-bsid --app <your-app-name> --branch <your-branch-name> --build <your-build-number>