go get github.com/kiriminaja/kaj-log-activities-sdk
package main
import (
"github.com/kiriminaja/kaj-log-activities-sdk/cmd/app"
kaj_log_activities_sdk "github.com/kiriminaja/kaj-log-activities-sdk/sdk"
)
func main() {
client := kaj_log_activities_sdk.NewClient(kaj_log_activities_sdk.Config{
URL: "http://localhost:8081",
})
client.Packages.Search("$PACKAGE_ID")
}
# kaj-log -h
Usage:
[command]
Available Commands:
completion Generate the autocompletion script for the specified shell
event Event
help Help about any command
package package [command]
payment payment [command]
withdrawal withdrawal [command]
Flags:
-h, --help help for this command
Use " [command] --help" for more information about a command.
withdrawal [command]
Usage:
withdrawal [command]
Available Commands:
search search
Flags:
-h, --help help for withdrawal
Use " withdrawal [command] --help" for more information about a command.
package [command]
Usage:
package [command]
Available Commands:
search search
Flags:
-h, --help help for package
Use " package [command] --help" for more information about a command.