Skip to content

Clint Vidler

Website Developer & Software Engineering Student

  • About Me
  • CMS
    • Drupal
    • SharePoint
    • WordPress
  • Data
    • API
    • MongoDB
    • NAS
      • Synology
  • JavaScript
    • Angular
    • Gatsby.js
    • Node.js
      • Express.js
    • Pug.js
    • Vue.js
  • Microsoft
    • Outlook
    • SharePoint
    • Windows
  • More Topics
    • Apple
      • OSX
    • Go
    • Google
      • G Suite
    • PHP
    • Python
    • Security
      • Backup & Recovery
    • Website Design
    • Uncategorized
  • Contact

Category: Go

Posted on March 10, 2022March 10, 2022

Using Testify suite setup/teardown to run operations before/after groups of tests in Go

The standard testing library in go lacks setup and teardown features, Testify adds this feature (and many others).

Continue reading “Using Testify suite setup/teardown to run operations before/after groups of tests in Go”
Posted on January 31, 2022January 31, 2022

Enum type in Go

This ‘Season’ type can be used like any other type in go, but with limited allowed values.

Continue reading “Enum type in Go”
Posted on January 18, 2022January 31, 2022

Populate Golang relationship field using MongoDB Aggregate and $lookup

Replace the relationship ID with the data object that it references.

Continue reading “Populate Golang relationship field using MongoDB Aggregate and $lookup”
Posted on January 12, 2022

Check if Golang interface is a slice

This function returns true if the given interface is a slice, otherwise it returns false.

Continue reading “Check if Golang interface is a slice”
Posted on November 7, 2021

Go module with local package folders

A basic go module called example with additional handlers and data packages, which doesn’t require Git.

Continue reading “Go module with local package folders”

Recent Posts

  • Create SSL certificate for localhost HTTPS using mkcert as trusted certificate authority July 18, 2022
  • Using Testify suite setup/teardown to run operations before/after groups of tests in Go March 10, 2022
  • Enum type in Go January 31, 2022
  • Define a 404 fallback image in an Angular component January 28, 2022
  • How to create a responsive square image with CSS January 27, 2022

Archives

  • July 2022 (1)
  • March 2022 (1)
  • January 2022 (5)
  • November 2021 (1)
  • August 2021 (2)
  • May 2021 (1)
  • November 2020 (1)
  • September 2020 (1)
  • August 2020 (3)
  • July 2020 (6)
  • June 2020 (1)
  • May 2020 (1)
  • March 2020 (1)
  • January 2020 (1)
  • August 2019 (1)
  • June 2019 (1)
  • May 2019 (4)
  • April 2019 (4)
  • March 2019 (3)
  • January 2019 (1)
  • December 2018 (3)
  • November 2018 (9)

Categories

  • Angular (4)
  • Apple (3)
    • OSX (3)
  • CMS (13)
    • Drupal (4)
    • Wordpress (7)
  • Data (3)
    • API (1)
    • MongoDB (2)
  • Go (5)
  • Google (2)
    • G Suite (1)
  • JavaScript (12)
    • Gatsby.js (3)
    • Node.js (4)
      • Express.js (2)
    • Pug.js (2)
    • Vue.js (2)
  • Microsoft (5)
    • Outlook (1)
    • SharePoint (2)
    • Windows (2)
  • NAS (3)
    • Synology (3)
  • PHP (1)
  • Python (1)
  • Security (7)
    • Backup & Recovery (2)
  • TypeScript (2)
  • Uncategorized (1)
  • Website Design (5)

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
  • GitHub
  • Linkedin
Privacy Policy Log in