github.com/Jeffail/benthos/v3@v3.65.0/lib/util/http/client/docs.go (about) 1 package client 2 3 import ( 4 "github.com/Jeffail/benthos/v3/internal/docs" 5 ihttpdocs "github.com/Jeffail/benthos/v3/internal/http/docs" 6 ) 7 8 // FieldSpec returns the field spec for an HTTP type. 9 // TODO: V4 Remove this 10 func FieldSpec(extraChildren ...docs.FieldSpec) docs.FieldSpec { 11 return ihttpdocs.ClientFieldSpec(false, extraChildren...) 12 }