dongzl commented on pull request #97: URL: https://github.com/apache/skywalking-eyes/pull/97#issuecomment-1084515449
> > Hi @kezhenxu94 , I considered about this way, but read code, > > `var commentStyles = make(map[string]CommentStyle)` is private and `comments/config.go`'s `init` method can't receive param, I don't know how to merge the config content, so I use this way now. > > Hi @dongzl , the way I proposed needs some other changes for sure, you can > > * Add a method (`OverrideLanguageCommentStyle`) in https://github.com/apache/skywalking-eyes/blob/f23c9f4ebc40c6f4e612fa65ed7188118d4eefb9/pkg/comments/config.go#L107 > * Invoke the `OverrideLanguageCommentStyle` in https://github.com/apache/skywalking-eyes/blob/f23c9f4ebc40c6f4e612fa65ed7188118d4eefb9/pkg/header/config.go#L102-L103 Hi @kezhenxu94 , OK I understand, I will try it. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
