#!/bin/bash set -e FILES="$(ls ./*.go | grep -v -e _test.go -e .generated.go | tr '\n' ' ')" codecgen -d 100 -o structs.generated.go ${FILES}