Instead of duplicating code in order to provide deprecation of the ExitState, replace it directly with a Plugin type.
Because (as of this writing) pkg.go.dev and GitHub do not show any other projects using this code (aside from projects that I currently maintain), this is a relatively safe breaking change to make.
CI jobs will flag breakage for dependent projects so that I can pair client code changes with merging in a PR containing these changes.
Instead of duplicating code in order to provide deprecation of the
ExitState
, replace it directly with aPlugin
type.Because (as of this writing) pkg.go.dev and GitHub do not show any other projects using this code (aside from projects that I currently maintain), this is a relatively safe breaking change to make.
CI jobs will flag breakage for dependent projects so that I can pair client code changes with merging in a PR containing these changes.