Video tutorial series for Beego web framework.
This short post is part of my coding session, where I review the usage of ID and KEY (UUID) fields for my research project. In particular, I will remove the ID fields’ usage and check if the system works as expected. How to remove the GORM ID field? Here is an example of Model transofrmation. […]
In this video session, I am working on CodeKN.com and, in particular, its URL Meta Parser worker. During the coding session, I will set the size for MySQL index fields using Golang GORM models, automate table alter execution for setting collation on the table level, and also debug the application to find errors with page […]
New Coding Session: Add new database tables using Golang and GORM:– Using Go and Gorm save links and image URLs from the website.– Introduce a unique index for a pair of fields (MySQL).– Error handler and logging.
In the attached video I discuss the following topics: Save links and images from the webpage. Mark URL as complete in the pipeline once it is fully parsed. Refactor: extract text compressor to the separate function (similar to decompressor). To-do: define a task for the “webpage data parser” worker. Compress using GZIP We retrieve the […]
Golang: PubSub implementation using Go channels. Go PubSub implementation: Data-pipeline Read more about data-pipeline implementation used as an example: Used Resources https://eli.thegreenplace.net/2020/pubsub-using-channels-in-go/ https://en.wikipedia.org/wiki/Publish%E2%80%93subscribe_pattern
Goland as well as Go’s build sometimes throws the following issue: go build -i cause open /usr/local/go/pkg/darwin_amd64/runtime/cgo.a: permission denied.
In this short post, I want to provide ready-to-use code snippets for serving the favicon, sitemap.xml, and ads.txt files.
Introduction to Beego web framework: Quick Start Hello, world! Golang Beego Tutorial – is a series of articles for the Beego web framework. In this tutorial, we will check the following topics: How to install beego and bee. How to set up a web project from scratch using the Beego web framework. Install and use […]
In this coding session, we will use Golang’s Beego web framework to build an API / Web app from scratch: controller & routers.