CrabScout. The best software around.
Search

Mergo

Fill empty fields in a Go value using values from another record.

darccio · Code and testing

GitHub projectOpen source Open on GitHub

How to try it

In a new Go module, add dario.cat/mergo at v1.0.2. Apply fictional default count and name fields to a partly filled record.

What we tested

v1.0.2. Apply fictional default count and name fields to a partly filled record. Filled the missing fixture count and preserved the original name.

Reviews

Rate this repo

More to explore

  • GleamWrite typed code for the Erlang virtual machine or JavaScript.GitHub projectOpen source
  • PixiSet up reproducible software environments for projects.GitHub projectOpen source
  • LycheeCheck that document links point to reachable paths.GitHub projectOpen source

Share

What the labels mean

Save to your library