diff --git a/v2/protocol/http/context.go b/v2/protocol/http/context.go index f7eec8ca0..e973738c6 100644 --- a/v2/protocol/http/context.go +++ b/v2/protocol/http/context.go @@ -24,8 +24,7 @@ type RequestData struct { } // WithRequestDataAtContext uses the http.Request to add RequestData -// -// information to the Context. +// information to the Context. func WithRequestDataAtContext(ctx context.Context, r *nethttp.Request) context.Context { if r == nil { return ctx diff --git a/v2/types/value.go b/v2/types/value.go index 561495a99..14004d3e1 100644 --- a/v2/types/value.go +++ b/v2/types/value.go @@ -86,8 +86,7 @@ func Format(v interface{}) (string, error) { } // Validate v is a valid CloudEvents attribute value, convert it to one of: -// -// bool, int32, string, []byte, types.URI, types.URIRef, types.Timestamp +// bool, int32, string, []byte, types.URI, types.URIRef, types.Timestamp func Validate(v interface{}) (interface{}, error) { switch v := v.(type) { case bool, int32, string, []byte: