gallery/gen-initialize.sh

7 lines
115 B
Bash
Executable File

#!/bin/sh -e
gofmt <<EOF
package ${GOPACKAGE:-main}
const initializeSQL = \`$(sed 's/`/` + "`" + `/g' "$@")\`
EOF