-
-
Notifications
You must be signed in to change notification settings - Fork 31
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
[META] Introduction 👋 #51
Comments
Thanks for your work! I will be using it in my module but I have a question. GitHub Action badge is not working for me. It just shows blank for a temporary solution. I was able to added the badge from other source. My docs for Hope you will be able to give a solution! Thanks! |
Hi @Delta456
You need to replace Here is the working one:
That's because pkg.go.dev is still linking to your version 1.2.0, you need to "tell" pkg.go.dev that you now have a new version, you can do it by using If you give a look at my release github action workflow, you can see that the last step is to make it automatically from the CI -> https://github.com/moul/golang-repo-template/blob/master/.github/workflows/release.yml#L49-L56 Something/someone needs to call this URL: I just gave a try and I think there is a strange behavior due to the uppercase letter in your GitHub nickname, basically:
I'm sorry but I have no idea why this happens, the strange thing is that https://pkg.go.dev/github.com/Delta456/box-cli-maker?tab=doc is working but https://pkg.go.dev/github.com/Delta456/box-cli-maker?tab=doc isn't I don't have this uppercase issue by myself so I won't pass more time on this, but I hope I helped you a little bit anyway, good luck! |
I think I will lowercase my username and try again. Hope it does not break my links which are given everywhere. Thanks for helping! |
@moul Heads up. My issue is solved. Thanks for your help! |
I regularly use this template for my different projects.
The root README.md is also a template file, so this issue is used to as README.md replacement :)
This template is personal and strongly coupled to myself with my name everywhere, it won't be a real nightmare to replace my name with yours, but I suggest you keep this repo as a reference, pick up your favorite ideas, and do one for yourself :)
What I'm proud of this repo is that it fits with most of my needs with very minimal changes so I can have my project set up in a few minutes.
FYI, here is the command I run just after creating a new repo based on this template:
And if the repo is a library without any binary, I've additional things to do, i.e.:
Dockerfile
,package.json
,.goreleaser.yml
Makefile
,.github/workflows/*.yml
That's it :)
Btw, feel free to comment this issue or open a new one if you have things to share, questions, suggestions, anything 👋
The text was updated successfully, but these errors were encountered: