Go Lang and MongoDB Web App MVC pattern Part 7

Introduction This is part seven of a multi-part tutorial series explaining how to create a Go Lang and MongoDB web app with MVC pattern. Parts one through six of this seven-part tutorial series covered how to set up the project development environment and create a sample database in MongoDB, configure the database connection and create … Continued

Go Lang and MongoDB Web App MVC Pattern Part 5

Introduction This is part five of a tutorial series explaining how to build a Go Lang and MongoDB web app with MVC pattern. The last section of this series, part four, explained how to get a single MongoDB document into the database via Go Lang using MVC. Part five will continue adding new functions to … Continued

Go Lang and MongoDB Web App MVC pattern Part 1

Introduction This is part one in a multi-part tutorial series providing instructions for creating a Go Lang and MongoDB Web App with MVC pattern. This series will provide step-by-step instructions for creating a Golang PostgreSQL web app with a MVC pattern and part one will cover setting up the project development environment and creating a … Continued

Go Lang and MongoDB Web App MVC pattern Part 2

Introduction This is part two of a multi-part tutorial series explaining how to create a Go Lang and MongoDB web app with MVC pattern. Part one of this series explained how to configure Golang and create the sample dataset for the MongoDB database. Part two will cover how to configuring the database connection and create … Continued

Go Lang and MongoDB Web App MVC pattern Part 3

Introduction This is part three in a step-by-step tutorial series explaining how to create a Go Lang and MongoDB web app with MVC pattern. Part one explained how to set up the project development environment and create a sample database in MongoDB and part two covered how to configuring the database connection and create the … Continued

How to Delete MongoDB Documents using the Golang Driver

Introduction This tutorial will cover two methods used to delete MongoDB documents with the Golang driver. These two methods used to delete MongoDB documents with the Golang driver include the DeleteOne()method and DeleteMany() API calls method. These two methods are used to delete just a single record or a number of documents, respectively. Prerequisites Needed … Continued

How to Use Redis Go Client go-redis/redis with GoLang

Introduction Go-Redis is one of the most popular clusters for Redis, consistently receiving high marks and positive reviews from users. Go-Redis is a Redis client able to support a Redis cluster and is a Go language execution of the Redis client based on Redigo. Go-Redis is designed to store and update slot info automatically with … Continued

How to Use Redis Go Client Redigo with GoLang

Introduction The Go language (GoLang) helps developers increase productivity because it’s an easy-to-learn programming language that’s suitable for many applications in a variety of industries. GoLang is compatible with other popular programs too. One worth mentioning is Redigo, a Redis Go client. It works seamlessly with GoLang. Among its main benefits is its ability to … Continued

How to Construct MongoDB Queries from a String using Golang

Introduction to Creating MongoDB queries and filters in Golang This tutorial will explain how to perform MongoDB queries with Golang. The article will cover how to create bson.M (BSON map) objects from raw JSON strings and from primitve.M BSON objects as well as how to pass those objects to the Golang driver’s method calls to … Continued

Check If An Elasticsearch Index Exists Using The Golang Olivere Driver

Introduction The Go language (Golang) Olivere driver is the power source behind intricate querying in Elasticsearch and speedy responses. If you learn that an Elasticsearch Index doesn’t exist after you’ve tried to add or change the data in a document, an error will be returned. While scripting isn’t error-free, there is something you can do … Continued

Keep in the know!

Subscribe to our emails and we’ll let you know what’s going on at ObjectRocket. We hate spam and make it easy to unsubscribe.