Skip to content

Repository files navigation

go-stack

Build StatusLicenseDocker Repository

Description

This repository contains a simple implementation of a thread-safe stack in Go. It includes concurrent push and pop operations, unit tests, and a Dockerfile for containerization.

Features

  • Concurrency support
  • Dockerized
  • Kubernetes-ready
  • CI/CD with GitHub Actions

Getting Started

Prerequisites

  • Go 1.22 or later
  • Docker

Running the Application

Locally

go run main.go

Docker

docker run -d csociety/go-stack 

Kubernetes

apiVersion: v1kind: Podmetadata:
name: go-stacklabels:
app: go-stackspec:
containers:
- name: go-stackimage: csociety/go-stack:latest

About

A simple implementation of a thread-safe stack in Go

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages