mirror of
https://github.com/LukeHagar/developer.sailpoint.com.git
synced 2025-12-09 20:37:47 +00:00
update go docs and examples
This commit is contained in:
@@ -271,7 +271,7 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
reportdetails := []byte(`{
|
||||
"reportType" : "ACCOUNTS",
|
||||
"arguments" : {
|
||||
"application" : "2c9180897e7742b2017e781782f705b9",
|
||||
@@ -281,7 +281,7 @@ func main() {
|
||||
|
||||
|
||||
var reportDetails v3.ReportDetails
|
||||
if err := json.Unmarshal(data, &reportDetails); err != nil {
|
||||
if err := json.Unmarshal(reportdetails, &reportDetails); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user