Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Two declaration of main() in the main package #4264

Closed
cglotr opened this issue Jun 9, 2022 · 0 comments · Fixed by #4265
Closed

Two declaration of main() in the main package #4264

cglotr opened this issue Jun 9, 2022 · 0 comments · Fixed by #4265

Comments

@cglotr
Copy link
Contributor

cglotr commented Jun 9, 2022

There are two declarations of main() in the same package main & my compiler is giving me errors. Is this duplicate expected?

awesome-go/make_site.go

Lines 29 to 31 in 6c5cc61

func main() {
GenerateHTML()
input, err := ioutil.ReadFile("./tmpl/index.html")

func main() {
testStaleRepository()
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant