Skip to content

Latest commit

 

History

History
52 lines (37 loc) · 1.06 KB

README.md

File metadata and controls

52 lines (37 loc) · 1.06 KB

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