From 931c4e361fbfa4b010fc88f00c6734188c378c6c Mon Sep 17 00:00:00 2001 From: William Cheng Date: Sat, 10 Oct 2020 17:10:32 +0800 Subject: [PATCH] update samples --- samples/client/petstore/go/go-petstore/utils.go | 2 +- .../client/extensions/x-auth-id-alias/go-experimental/utils.go | 2 +- samples/openapi3/client/petstore/go/go-petstore/utils.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/samples/client/petstore/go/go-petstore/utils.go b/samples/client/petstore/go/go-petstore/utils.go index 1501e7bfc5b..ac97fa1b370 100644 --- a/samples/client/petstore/go/go-petstore/utils.go +++ b/samples/client/petstore/go/go-petstore/utils.go @@ -15,7 +15,7 @@ import ( "time" ) -// PtrBool is a helper routine that returns a pointer to given integer value. +// PtrBool is a helper routine that returns a pointer to given boolean value. func PtrBool(v bool) *bool { return &v } // PtrInt is a helper routine that returns a pointer to given integer value. diff --git a/samples/openapi3/client/extensions/x-auth-id-alias/go-experimental/utils.go b/samples/openapi3/client/extensions/x-auth-id-alias/go-experimental/utils.go index e554d01b1e6..89bfd6e5cc4 100644 --- a/samples/openapi3/client/extensions/x-auth-id-alias/go-experimental/utils.go +++ b/samples/openapi3/client/extensions/x-auth-id-alias/go-experimental/utils.go @@ -15,7 +15,7 @@ import ( "time" ) -// PtrBool is a helper routine that returns a pointer to given integer value. +// PtrBool is a helper routine that returns a pointer to given boolean value. func PtrBool(v bool) *bool { return &v } // PtrInt is a helper routine that returns a pointer to given integer value. diff --git a/samples/openapi3/client/petstore/go/go-petstore/utils.go b/samples/openapi3/client/petstore/go/go-petstore/utils.go index 1501e7bfc5b..ac97fa1b370 100644 --- a/samples/openapi3/client/petstore/go/go-petstore/utils.go +++ b/samples/openapi3/client/petstore/go/go-petstore/utils.go @@ -15,7 +15,7 @@ import ( "time" ) -// PtrBool is a helper routine that returns a pointer to given integer value. +// PtrBool is a helper routine that returns a pointer to given boolean value. func PtrBool(v bool) *bool { return &v } // PtrInt is a helper routine that returns a pointer to given integer value.