Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Available ¶
func Available() bool
Available reports whether a Pro implementation was registered.
func EnhanceTextIfAvailable ¶
EnhanceTextIfAvailable runs the pro enhancement if available, otherwise returns the original text unmodified.
func Register ¶
func Register(p ProFeatures)
Register is called by the pro module to wire in its implementation. The public repo never imports the pro module; the pro module imports this package and calls Register in its init() or explicit setup.
Types ¶
type ProFeatures ¶
type ProFeatures interface {
// Example: EnhanceText receives input and returns enhanced text.
EnhanceText(input string) (string, error)
}
ProFeatures is the interface that the Pro repo implements to provide additional (commercial) functionality. Keep methods minimal and focused on behavior rather than types to avoid tight coupling.
Click to show internal directories.
Click to hide internal directories.