Skip to content

Instantly share code, notes, and snippets.

View Dostonlv's full-sized avatar
🧪
experimenting

Doston Dostonlv

🧪
experimenting
View GitHub Profile
package config
import (
"fmt"
"genproto/geo_service"
"os"
"github.com/joho/godotenv"
"github.com/spf13/cast"
)
name: CI/CD Pipeline
on:
push:
branches:
- feat/cd
jobs:
build_and_deploy:
runs-on: ubuntu-latest
name: CI/CD Pipeline for Go Services with PM2
on:
push:
branches:
- feat/ci
jobs:
build-and-deploy:
runs-on: ubuntu-latest
@Dostonlv
Dostonlv / payment.go
Created November 27, 2024 10:20
dependency injection usage
package main
import (
"errors"
"fmt"
"log"
"time"
)
// Models
# Don't print a new line at the start of the prompt
add_newline = true
[character]
success_symbol = "[λ](bold fg:129)"
error_symbol = "[λ](bold fg:160)"
[bun]
format = "via [$symbol]($style)"