mirror of
https://github.com/LukeHagar/developer.sailpoint.com.git
synced 2025-12-10 12:27:47 +00:00
update go docs and examples
This commit is contained in:
@@ -74,7 +74,7 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
custompasswordinstruction := []byte(`{
|
||||
"pageContent" : "Please enter a new password. Your password must be at least 8 characters long and contain at least one number and one letter.",
|
||||
"pageId" : "change-password:enter-password",
|
||||
"locale" : "en"
|
||||
@@ -82,7 +82,7 @@ func main() {
|
||||
|
||||
|
||||
var customPasswordInstruction beta.CustomPasswordInstruction
|
||||
if err := json.Unmarshal(data, &customPasswordInstruction); err != nil {
|
||||
if err := json.Unmarshal(custompasswordinstruction, &customPasswordInstruction); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user