Creating own package

I have repository, with my own testify prototype. I need help with go.sum packages and modules, because I don’t kwon what I need to do to be able to use this package in other projects. Repository: GitHub - Daniilkan/GTest

If you don’t depend on any other package, you can have a very minimum go.mod and empty go.sum. In your repository, I can see in your go.mod, there is one dependency: github.com/stretchr/testify, but you don’t use this anywhere, so you can just remove it. And leave the go.sum empty.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.