mirror of
https://github.com/cloudnativelabs/kube-router.git
synced 2025-10-10 01:11:12 +02:00
5 lines
141 B
Bash
Executable File
5 lines
141 B
Bash
Executable File
set -e
|
|
BASE=$(echo $1 | sed s/.go$//)
|
|
go tool cgo -godefs ${BASE}_ignore.go | gofmt > ${BASE}_$2_$3.go
|
|
find ${BASE}_$2_$3.go -size 0 -delete
|