Social Visual Page



Building a Social Network #20: Mention Notification Fanout #golang #sql







Part 20 of building a social network for anime and manga fans. CockroachDB as the SQL database and Go as the back-end language. When creating a post or comment, we extract all the @mentions and notify each user but the creator of the content. This is done thanks to the mentions lib by Geofrey Ernest. https://github.com/gernest/mention It is not documented on the repo, but this lib accepts a list of “terminators”. That’s why I added some punctuation. Note that I don’t plan to support hashtags for now. Repo: https://github.com/nicolasparada/nakama #golang #sql

Leave a Reply

Your email address will not be published. Required fields are marked *