package
2.15.2
Repository: https://github.com/cloudevents/sdk-go.git
Documentation: pkg.go.dev

# Functions

AddAttribute adds a cloudevents attribute (if missing) during the encoding process.
AddExtension adds a cloudevents extension (if missing) during the encoding process.
DeleteAttribute deletes a cloudevents attribute during the encoding process.
DeleteExtension deletes a cloudevents extension during the encoding process.
SetAttribute sets a cloudevents attribute using the provided function.
SetExtension sets a cloudevents extension using the provided function.
Version converts the event context version to the specified one.

# Variables

Add the cloudevents time attribute, if missing, to time.Now().