conform

Field Formatter

Automatically trims and sanitizes struct string fields in Go based on embedded tags.

Trims, sanitizes & scrubs data based on struct tags (go, golang)

GitHub

323 stars
6 watching
36 forks
Language: Go
last commit: over 2 years ago
Linked from 2 awesome lists


Backlinks from these awesome lists:

Related projects:

RepositoryDescriptionStars
nolleh/caption_json_formatterFormatter for log messages in Go applications, enabling human-readable output with customizable formatting options.4
greencoda/confiqA library for populating structs with data from various formats.35
ghostiam/binstructDecodes binary data into structured format99
cgxxv/xj2goA tool to convert data from XML or JSON formats into Go structs.34
drewstinnett/goutA utility package for formatting and serializing data in standard formats.17
alexflint/go-restructureEnables regular expressions to be defined as struct fields and captures sub-expressions into those fields591
anacrolix/tagflagTool for declaratively parsing command-line flags in Go using struct tags.11
alexflint/go-argProvides a structured approach to parsing command-line arguments in Go2,046
andrewstuart/goqAllows users to declaratively unmarshal HTML into Go structs using struct tags composed of CSS selectors.262
gobwas/globA Go library for efficient string matching using compile-time glob patterns.968
go-ffmt/ffmtGolang beautifies data display by providing formatting options for humans308
samber/slog-formatterA library that provides attribute formatting for structured logging in Go.133
go-playground/formA Go package for encoding and decoding URL parameters into structured data types781
bitfield/gotestdox Formats Go test results as readable documentation122
twharmon/govalidStruct validation using tags51