package
1.0.0
Repository: https://github.com/comvex-jp/uipath-go.git
Documentation: pkg.go.dev

# README

Running Examples

Examples can be run by modifying the examples.go file and executing examples.Run() via gore or any Go REPL you are familiar with.

You need to modify the following items in examples.go

	credentials := uipath.Credentials{
		ClientID:   "{{ClientID}}",   // UIPath Client ID
		UserKey:    "{{UserKey}}",    // UIPath UserKey
		TenantName: "{{TenantName}}", // UIPath Tenant Name
	}
    ...
	c := uipath.Client{
		HttpClient:  httpClient,
		Credentials: credentials,
		URLEndpoint: "{{URLEndpoint}}", //UIPath URL endpoint
	}

You may also need to modify the folderIDs

	aHandler := uipath.AssetHandler{
		Client:   &c,
		FolderId: uint(292388),
	}
    ...
    queueHandler := uipath.QueueItemHandler{
		Client:   &c,
		FolderId: uint(292388),
	}

Running the example via gore

gore> :import github.com/comvex-jp/uipath-go/examples
gore> examples.Run()
{239722 Asset 39 true Global Text TestValue TestValue false 0    0 false  0 [] []} <nil>