Skip to content

Instantly share code, notes, and snippets.

View gjreasoner's full-sized avatar
:octocat:
Working

Justin Reasoner gjreasoner

:octocat:
Working
View GitHub Profile
@gjreasoner
gjreasoner / main.go
Created November 1, 2024 08:55
Nested viper and unmarshal into config
package main
import (
"fmt"
"strings"
viper "github.com/spf13/viper"
)
type Config struct {
Stripe Stripe