Created
January 31, 2023 20:05
-
-
Save goyaljai/485b467bf3efd549f80e406a2521b31f to your computer and use it in GitHub Desktop.
main.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function main() { | |
c, args, err := getCommand(os.Args) | |
... | |
buildCtx := build.Context{ContextImpl: &build.ContextImpl{ | |
Context: ctx, | |
Logger: log, | |
Metrics: met, | |
Tracer: trace, | |
Writer: output, | |
Status: stat, | |
}} | |
config := c.config(buildCtx, args...) | |
... | |
build.FindSources(buildCtx, config, f) | |
... | |
c.run(buildCtx, config, args, logsDir) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment