I am working on a project (and I don’t know if this is possible) that could have a custom language using a VS Code extension. This easy language will translate to matching file in go code
For example:
Call sub-rule: “DateTimeConvert” (LocalDateTime: dateTimeVariable, Use24HourClock: false) save response in: newDateTime
func DateTimeConvert(localDateTime time.Time, use24HourClock bool) time.Time {
// code to convert here
}
Then in a separate file it would create a go function
New contributor
Keith Donner is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.