Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LogTransformer ¶
LogTransformer is responsible to process the log file and do following transformation steps 1. Clean any ANSI chars and XTERM color created from cdk diff command 2. Transform additions and removals to markdown diff syntax 3. Create unique message header 4. truncate content if message is longer than GitHub API can handle
func NewLogTransformer ¶
func NewLogTransformer(config *config.AppConfig) *LogTransformer
NewLogTransformer create new log transfer based on config.AppConfig
func (*LogTransformer) Process ¶
func (t *LogTransformer) Process()
Process log file 1. Clean any ANSI chars and XTERM color created from cdk diff command 2. Transform additions and removals to markdown diff syntax 3. Create unique message header 4. truncate content if message is longer than GitHub API can handle