current location:Home > Technical Articles > Backend Development > Golang

  • Send Slack Notifications with Go AWS Lambda Functions
    Send Slack Notifications with Go AWS Lambda Functions
    Introduction In this article, we will discuss how to create an AWS lambda function to send Slack notifications when the CPU utilization of an AWS instance reaches 50%. AWS Lambda is a serverless compute service offered by Amazon Web Services (
    Golang 519 2024-07-17 14:03:57
  • Palindrome check a string
    Palindrome check a string
    This one is pretty common. Sounds difficult, but not really bad once you think it through. Write a golang function to check if a string is a palindrome. A palindrome is a sequence of characters that is the same even when reversed, for example: &
    Golang 973 2024-07-17 13:36:15
  • Effortless HTTP Client Testing in Go
    Effortless HTTP Client Testing in Go
    Introduction As a software engineer, you are probably familiar with writing code to interact with external HTTP services. After all, it is one of the most common things we do! Whether it's fetching data, processing payments with a provider, or
    Golang 1009 2024-07-17 12:24:28
  • How to Build Your Own Distributed KV Storage System Using the etcd Raft Library
    How to Build Your Own Distributed KV Storage System Using the etcd Raft Library
    Introduction raftexample is an example provided by etcd that demonstrates the use of the etcd raft consensus algorithm library. raftexample ultimately implements a distributed key-value storage service that provides a REST API. This article wi
    Golang 258 2024-07-17 10:55:18
  • WatchYourPorts - self-hosted ports inventory
    WatchYourPorts - self-hosted ports inventory
    I'm using a lot of self-hosted apps, both at work and in my homelab. Of course, I can't remember all ports taken by those apps. So, the idea of ports inventory seems reasonable. Why Why not just use Portainer or other Docker tool? Not all apps a
    Golang 1023 2024-07-17 10:15:31
  • Detect cycle in linked list
    Detect cycle in linked list
    Another linked list algorithm. Detect a cycle in a linked list. This is actually not that bad. There are at least 3 different ways to do it O(n) time. The easiest way requires modifying the linked list node to include a flag that denotes if a no
    Golang 283 2024-07-17 09:11:29
  • The Ultimate Golang Framework for Microservices: GoFr
    The Ultimate Golang Framework for Microservices: GoFr
    Go is a multiparadigm, statically typed, and compiled programming language designed by Google. Many developers have embraced Go because of its garbage collection, memory safety, and structural typing system. Go web frameworks were created to ease Go
    Golang 746 2024-07-17 07:58:38
  • Building Flexible and Maintainable Go-Lang Apps
    Building Flexible and Maintainable Go-Lang Apps
    In software development, Dependency Injection (DI) is one of the fundamental principles that help build flexible and maintainable applications. In this article, we will discuss the use of Dependency Injection in Go-Lang and how the Wire tool can help
    Golang 627 2024-07-17 07:46:59
  • HTMX + Go : Build a CRUD App with Golang and HTMX
    HTMX + Go : Build a CRUD App with Golang and HTMX
    One question I see going around alot about HTMX, especially amongst developers that have just tried the library is “But what can you really build with it though?” Great question, and in this article, we will start with baby steps by building a datab
    Golang 869 2024-07-17 07:24:39
  • geo - ears later
    geo - ears later
    tl;dr after 4y, the projects have been substantially updated and it is now well-tested and mature. In July 2020, I wrote on this platform about geo2tz, a rest API to retrieve the timezone from latitude and longitude coordinates. I have sporadically
    Golang 483 2024-07-17 04:54:19
  • Understanding and Utilizing Context in Go and GoFr
    Understanding and Utilizing Context in Go and GoFr
    What is Context? In Go, the context package is a fundamental tool designed to manage and share request-scoped data, cancellation signals, and timeouts or deadlines across different layers of an application. The context.Context type provides a
    Golang 489 2024-07-17 04:51:42
  • Refactor: GoroutineTracker with unnecessary usage of reflect
    Refactor: GoroutineTracker with unnecessary usage of reflect
    Today, I encountered this code in my company codebase (the code and comments are rewritten for demo purpose and do not include any proprietary code): type GoroutineTracker struct { wg sync.WaitGroup // ... some other fields } // Go starts a new
    Golang 632 2024-07-17 04:26:29
  • Golang Web: POST Method
    Golang Web: POST Method
    Introduction In this section of the series, we will be exploring how to send a POST HTTP request in golang. We will understand how to send a basic POST request, create an HTTP request, and parse json, structs into the request body, add headers,
    Golang 684 2024-07-17 04:22:30
  • GO — Project structure
    GO — Project structure
    I started programming using Golang for real this year (2022), and the thing I immediately did was look for references on how the best way to evolve my structure for the project would be. This post will be just one of many others that talk about the same thing.
    Golang 864 2024-07-17 03:41:01
  • Factory Design Pattern
    Factory Design Pattern
    The Factory design pattern is widely used in object-oriented programming. It provides an interface for creating objects, but allows subclasses to decide which classes to instantiate. In this article, we will explore how to implement the pattern
    Golang 469 2024-07-17 01:45:49

Tool Recommendations

jQuery enterprise message form contact code

jQuery enterprise message form contact code is a simple and practical enterprise message form and contact us introduction page code.
form button
2024-02-29

HTML5 MP3 music box playback effects

HTML5 MP3 music box playback special effect is an mp3 music player based on HTML5 css3 to create cute music box emoticons and click the switch button.

HTML5 cool particle animation navigation menu special effects

HTML5 cool particle animation navigation menu special effect is a special effect that changes color when the navigation menu is hovered by the mouse.
Menu navigation
2024-02-29

jQuery visual form drag and drop editing code

jQuery visual form drag and drop editing code is a visual form based on jQuery and bootstrap framework.
form button
2024-02-29

Organic fruit and vegetable supplier web template Bootstrap5

An organic fruit and vegetable supplier web template-Bootstrap5
Bootstrap template
2023-02-03

Bootstrap3 multifunctional data information background management responsive web page template-Novus

Bootstrap3 multifunctional data information background management responsive web page template-Novus
backend template
2023-02-02

Real estate resource service platform web page template Bootstrap5

Real estate resource service platform web page template Bootstrap5
Bootstrap template
2023-02-02

Simple resume information web template Bootstrap4

Simple resume information web template Bootstrap4
Bootstrap template
2023-02-02

Cute summer elements vector material (EPS PNG)

This is a cute summer element vector material, including the sun, sun hat, coconut tree, bikini, airplane, watermelon, ice cream, ice cream, cold drink, swimming ring, flip-flops, pineapple, conch, shell, starfish, crab, Lemons, sunscreen, sunglasses, etc., the materials are provided in EPS and PNG formats, including JPG previews.
PNG material
2024-05-09

Four red 2023 graduation badges vector material (AI EPS PNG)

This is a red 2023 graduation badge vector material, four in total, available in AI, EPS and PNG formats, including JPG preview.
PNG material
2024-02-29

Singing bird and cart filled with flowers design spring banner vector material (AI EPS)

This is a spring banner vector material designed with singing birds and a cart full of flowers. It is available in AI and EPS formats, including JPG preview.
banner picture
2024-02-29

Golden graduation cap vector material (EPS PNG)

This is a golden graduation cap vector material, available in EPS and PNG formats, including JPG preview.
PNG material
2024-02-27

Home Decor Cleaning and Repair Service Company Website Template

Home Decoration Cleaning and Maintenance Service Company Website Template is a website template download suitable for promotional websites that provide home decoration, cleaning, maintenance and other service organizations. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-05-09

Fresh color personal resume guide page template

Fresh color matching personal job application resume guide page template is a personal job search resume work display guide page web template download suitable for fresh color matching style. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-02-29

Designer Creative Job Resume Web Template

Designer Creative Job Resume Web Template is a downloadable web template for personal job resume display suitable for various designer positions. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-02-28

Modern engineering construction company website template

The modern engineering and construction company website template is a downloadable website template suitable for promotion of the engineering and construction service industry. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-02-28
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!