Skip to content

A simple implementation of a thread-safe stack in Go

License

Notifications You must be signed in to change notification settings

chiukapoor/go-stack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-stack

Build Status License Docker 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: v1
kind: Pod
metadata:
  name: go-stack
  labels:
    app: go-stack
spec:
  containers:
  - name: go-stack
    image: csociety/go-stack:latest

About

A simple implementation of a thread-safe stack in Go

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published