Source File
payload.go
Belonging Package
github.com/aws/aws-sdk-go/private/protocol/rest
package rest
import
func ( interface{}) interface{} {
if == nil {
return nil
}
:= reflect.ValueOf().Elem()
if !.IsValid() {
return nil
}
if , := .Type().FieldByName("_"); {
if := .Tag.Get("payload"); != "" {
, := .Type().FieldByName()
if .Tag.Get("type") != "structure" {
return nil
}
:= .FieldByName()
if .IsValid() || (.Kind() == reflect.Ptr && !.IsNil()) {
return .Interface()
}
}
}
return nil
}
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |