-
Notifications
You must be signed in to change notification settings - Fork 8
Home
Michael Canady edited this page Jul 21, 2025
·
4 revisions
This SDK has two modalities of usage: fluent
and standard
.
The following block is the base you'll need for all implementation methods:
import (
"github.com/michaeldcanady/servicenow-sdk-go/credentials"
)
cred := credentials.NewUsernamePasswordCredential("username", "password")
client := servicenowsdkgo.NewServiceNowClient2(cred, "instance")
The fluent implementation is designed for ease of use and more simplistic implementations.
client.Now().Table("table_name")
client.Now().Attachment()
client.Now().Batch()