viper

Go configuration with fangs (by spf13)

Viper Alternatives

Similar projects and alternatives to viper

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better viper alternative or higher similarity.

viper reviews and mentions

Posts with mentions or reviews of viper. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-05.
  • API completa em Golang - Parte 2
    5 projects | dev.to | 5 Dec 2023
  • What 3rd-party libraries do you use often/all the time?
    7 projects | /r/golang | 1 Dec 2023
    github.com/spf13/viper
  • API completa em Golang - Parte 1
    8 projects | dev.to | 1 Dec 2023
  • Building RESTful API with Hexagonal Architecture in Go
    21 projects | dev.to | 27 Sep 2023
    Instead of directly accessing environment variables with os.Getenv(), integrating a configuration handler like viper might make it maintainable.
  • What is the most common approach to configure a backend app?
    4 projects | /r/golang | 5 Jun 2023
    I guess most people are using https://github.com/spf13/viper but I don't know if I should read everything from
  • Could I get a code review?
    11 projects | /r/golang | 1 Jun 2023
    Use Viper for config file or environmental variable configuration -- it's going to save you a whole lot of time.
  • Which packages do you recommend for building cli tools?
    10 projects | /r/golang | 17 Apr 2023
    Cobra and Viper.
  • Library for Python similar to Go's Viper / 12 Factor
    2 projects | /r/learnpython | 5 Apr 2023
    I've mostly been using https://github.com/spf13/viper of late for my go projects. It supports the standard config formats, (json, yaml, toml etc) and lets you override any value with a ENV value.
  • Two ways to provide configuration: command-line, yaml file.
    3 projects | /r/golang | 30 Mar 2023
    Not only that, the "unmarshall to struct" method doesn't work at all for environment variables. https://github.com/spf13/viper/issues/188
  • Tools besides Go for a newbie
    36 projects | /r/golang | 26 Mar 2023
    IDE: use whatever make you productive. I personally use vscode. VCS: git, as golang communities use github heavily as base for many libraries. AFAIK Linter: use staticcheck for linting as it looks like mostly used linting tool in go, supported by many also. In Vscode it will be recommended once you install go plugin. Libraries/Framework: actually the standard libraries already included many things you need, decent enough for your day-to-day development cycles(e.g. `net/http`). But here are things for extra: - Struct fields validator: validator - Http server lib: chi router , httprouter , fasthttp (for non standard http implementations, but fast) - Web Framework: echo , gin , fiber , beego , etc - Http client lib: most already covered by stdlib(net/http), so you rarely need extra lib for this, but if you really need some are: resty - CLI: cobra - Config: godotenv , viper - DB Drivers: sqlx , postgre , sqlite , mysql - nosql: redis , mongodb , elasticsearch - ORM: gorm , entgo , sqlc(codegen) - JS Transpiler: gopherjs - GUI: fyne - grpc: grpc - logging: zerolog - test: testify , gomock , dockertest - and many others you can find here
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 11 Dec 2023
    Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge. Learn more →

Stats

Basic viper repo stats
72
24,704
8.7
4 days ago

spf13/viper is an open source project licensed under MIT License which is an OSI approved license.

The primary programming language of viper is Go.

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com