Versions in this module Expand all Collapse all v0 v0.0.5 Mar 31, 2024 Changes in this version + type Config struct + ContextLines int + Format string + NoColor bool + func NewDiff(format string, noColor bool, log *logrus.Logger) *Config + func (cfg *Config) Diff(oldData, newData string) (bool, string, error) + func (cfg *Config) String(input interface{}) (string, error)