Modularizing GoBlog?

I just separated the function I told you about the other day (the one for marking text with “==”) as a Go module. This way the main code remains more organized and if I don’t need the feature any more, the module is still usable. Also for other people who might need the same functionality. I think I should modularize GoBlog even more. 🤔

Creating a Go Module is also pretty simple:

create repository (is even possible on your own Gitea instance)

go mod init gitrepo

code

commit

push

done

Update: I created another module: template-strings.

Interactions & Comments