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.
- Concurrency support
- Dockerized
- Kubernetes-ready
- CI/CD with GitHub Actions
- Go 1.22 or later
- Docker
go run main.go
docker run -d csociety/go-stack
apiVersion: v1
kind: Pod
metadata:
name: go-stack
labels:
app: go-stack
spec:
containers:
- name: go-stack
image: csociety/go-stack:latest