Ecosyste.ms: Repos

An open API service providing repository metadata for many open source software ecosystems.

Package Usage: go: github.com/campoy/jsonenums

JSONenums is a tool to automate the creation of methods that satisfy the fmt.Stringer, json.Marshaler and json.Unmarshaler interfaces. Given the name of a (signed or unsigned) integer type T that has constants defined, jsonenums will create a new self-contained Go source file implementing The file is created in the same package and directory as the package that defines T. It has helpful defaults designed for use with go generate. JSONenums is a simple implementation of a concept and the code might not be the most performant or beautiful to read. For example, given this snippet, running this command in the same directory will create the file pill_jsonenums.go, in package painkiller, containing a definition of That method will translate the value of a Pill constant to the string representation of the respective constant name, so that the call fmt.Print(painkiller.Aspirin) will print the string "Aspirin". Typically this process would be run using go generate, like this: If multiple constants have the same value, the lexically first matching name will be used (in the example, Acetaminophen will print as "Paracetamol"). With no arguments, it processes the package in the current directory. Otherwise, the arguments must name a single directory holding a Go package or a set of Go source files that represent a single Go package. The -type flag accepts a comma-separated list of types so a single run can generate methods for multiple types. The default output file is t_jsonenums.go, where t is the lower-cased name of the first type listed. The suffix can be overridden with the -suffix flag and a prefix may be added with the -prefix flag.
1 version
Latest release: over 3 years ago
4 dependent packages

View more package details: https://packages.ecosyste.ms/registries/proxy.golang.org/packages/github.com/campoy/jsonenums

View more repository details: https://repos.ecosyste.ms/hosts/GitHub/repositories/campoy%2Fjsonenums

Dependent Repos 10

andorus911/go_learning_homework 📦
  • v0.0.0-20180221195324-eec6d38da64e 14_codegen/2_8_codegen/go.mod
  • v0.0.0-20180221195324-eec6d38da64e 14_codegen/2_8_codegen/go.sum

Size: 9.34 MB - Last synced: 12 months ago - Pushed: over 3 years ago

dzintars/wss
Test setup (Don't use!) Redux -> WSS -> RPC
  • v0.0.0-20180221195324-eec6d38da64e go.mod
  • v0.0.0-20180221195324-eec6d38da64e go.sum

Size: 49.8 KB - Last synced: 2 months ago - Pushed: over 2 years ago

p-12s/own-golang-manual 📦
  • v0.0.0-20180221195324-eec6d38da64e 3-otus-golang-course/14/lessons/go.mod
  • v0.0.0-20180221195324-eec6d38da64e 3-otus-golang-course/14/lessons/go.sum

Size: 19.4 MB - Last synced: 11 months ago - Pushed: almost 3 years ago

dtraft/es-pizza-shop
Proof of concept for a fully serverless, AWS-native event sourcing architecture.
  • v0.0.0-20180221195324-eec6d38da64e go.mod
  • v0.0.0-20180221195324-eec6d38da64e go.sum

Size: 904 KB - Last synced: 3 months ago - Pushed: over 1 year ago

selalipop/henchies-backend-go
  • v0.0.0-20201009151607-0f0230183423 go.mod
  • v0.0.0-20201009151607-0f0230183423 go.sum

Size: 7.88 MB - Last synced: 11 months ago - Pushed: almost 3 years ago

joseandro/mina
Mina is a new cryptocurrency with a constant size blockchain, improving scaling while maintaining decentralization and security.
  • v0.0.0-20180221195324-eec6d38da64e src/app/libp2p_helper/src/go.mod
  • v0.0.0-20180221195324-eec6d38da64e src/app/libp2p_helper/src/go.sum

Last synced: over 1 year ago

natebolam/coda
Coda is a new cryptocurrency with a constant size blockchain, improving scaling while maintaining decentralization and security.
  • v0.0.0-20180221195324-eec6d38da64e src/app/libp2p_helper/src/go.mod
  • v0.0.0-20180221195324-eec6d38da64e src/app/libp2p_helper/src/go.sum

Last synced: over 1 year ago

mina-payout/mina Fork of MinaProtocol/mina
Mina is a new cryptocurrency with a constant size blockchain, improving scaling while maintaining decentralization and security.
  • v0.0.0-20180221195324-eec6d38da64e src/app/libp2p_helper/src/go.mod
  • v0.0.0-20180221195324-eec6d38da64e src/app/libp2p_helper/src/go.sum

Size: 216 MB - Last synced: about 1 month ago - Pushed: about 1 month ago

spector-in-london/mina Fork of MinaProtocol/mina
Mina is a new cryptocurrency with a constant size blockchain, improving scaling while maintaining decentralization and security.
  • v0.0.0-20180221195324-eec6d38da64e src/app/libp2p_helper/src/go.mod
  • v0.0.0-20180221195324-eec6d38da64e src/app/libp2p_helper/src/go.sum

Size: 182 MB - Last synced: 3 months ago - Pushed: over 1 year ago

Shiba-Chain/mina Fork of MinaProtocol/mina
Mina is a new cryptocurrency with a constant size blockchain, improving scaling while maintaining decentralization and security.
  • v0.0.0-20180221195324-eec6d38da64e src/app/libp2p_helper/src/go.mod
  • v0.0.0-20180221195324-eec6d38da64e src/app/libp2p_helper/src/go.sum

Size: 246 MB - Last synced: 9 months ago - Pushed: over 1 year ago

fakecoinbase/CodaProtocolslashcoda
This is your first repository
  • v0.0.0-20180221195324-eec6d38da64e src/app/libp2p_helper/src/go.mod
  • v0.0.0-20180221195324-eec6d38da64e src/app/libp2p_helper/src/go.sum

Size: 46.1 MB - Last synced: 2 months ago - Pushed: over 1 year ago

chennqqi/go-generate-examples
  • v0.0.0-20180221195324-eec6d38da64e go.mod

Size: 450 KB - Last synced: about 2 months ago - Pushed: about 2 months ago

marthjod/k8s-jobs-viz
  • v0.0.0-20180221195324-eec6d38da64e go.mod
  • v0.0.0-20180221195324-eec6d38da64e go.sum

Size: 11.7 KB - Last synced: about 1 year ago - Pushed: over 4 years ago

EfimovCapital/coda Fork of MinaProtocol/mina
Coda is a new cryptocurrency with a constant size blockchain, improving scaling while maintaining decentralization and security.
  • v0.0.0-20180221195324-eec6d38da64e src/app/libp2p_helper/src/go.mod
  • v0.0.0-20180221195324-eec6d38da64e src/app/libp2p_helper/src/go.sum

Size: 53.5 MB - Last synced: 11 months ago - Pushed: almost 4 years ago

duccas/mina Fork of Fitblip/mina
Mina is a new cryptocurrency with a constant size blockchain, improving scaling while maintaining decentralization and security.
  • v0.0.0-20180221195324-eec6d38da64e src/app/libp2p_helper/src/go.mod
  • v0.0.0-20180221195324-eec6d38da64e src/app/libp2p_helper/src/go.sum

Size: 170 MB - Last synced: 11 months ago - Pushed: almost 3 years ago

eiernaggen/mina Fork of MinaProtocol/mina
Mina is a new cryptocurrency with a constant size blockchain, improving scaling while maintaining decentralization and security.
  • v0.0.0-20180221195324-eec6d38da64e src/app/libp2p_helper/src/go.mod
  • v0.0.0-20180221195324-eec6d38da64e src/app/libp2p_helper/src/go.sum

Size: 146 MB - Last synced: 11 months ago - Pushed: over 3 years ago

coverlet/mina Fork of MinaProtocol/mina
Mina is a new cryptocurrency with a constant size blockchain, improving scaling while maintaining decentralization and security.
  • v0.0.0-20180221195324-eec6d38da64e src/app/libp2p_helper/src/go.mod
  • v0.0.0-20180221195324-eec6d38da64e src/app/libp2p_helper/src/go.sum

Size: 149 MB - Last synced: 11 months ago - Pushed: over 3 years ago

dumpvn/mina Fork of MinaProtocol/mina
Mina is a new cryptocurrency with a constant size blockchain, improving scaling while maintaining decentralization and security.
  • v0.0.0-20180221195324-eec6d38da64e src/app/libp2p_helper/src/go.mod
  • v0.0.0-20180221195324-eec6d38da64e src/app/libp2p_helper/src/go.sum

Size: 178 MB - Last synced: 11 months ago - Pushed: about 3 years ago

UltronOne/mina Fork of MinaProtocol/mina
Mina is a new cryptocurrency with a constant size blockchain, improving scaling while maintaining decentralization and security.
  • v0.0.0-20180221195324-eec6d38da64e src/app/libp2p_helper/src/go.mod
  • v0.0.0-20180221195324-eec6d38da64e src/app/libp2p_helper/src/go.sum

Size: 386 MB - Last synced: about 2 months ago - Pushed: about 2 months ago