~louis77/pg2sqlite

5f7d541a5d13b0b4abe844cf2fc7e7eb8700a01c — Louis Brauer 2 months ago 941663d master
Remove Surge upload from build.sh
2 files changed, 17 insertions(+), 4 deletions(-)

M build.sh
M utils.go
M build.sh => build.sh +0 -4
@@ 37,7 37,3 @@ for K in "${!goos[@]}"; do
  env GOOS="$current_os" GOARCH="$current_arch" go build -o $builddir/"$product"
  compress "$current_os" $builddir/"$product"
done

echo "Uploading to surge"

surge $builddir pg2sqlite.surge.sh
\ No newline at end of file

M utils.go => utils.go +17 -0
@@ 1,3 1,20 @@
/*	pg2sqlite - Migrate tables from PostgresQL to SQLite
	Copyright (C) 2021  Louis Brauer

	This program is free software: you can redistribute it and/or modify
	it under the terms of the GNU General Public License as published by
	the Free Software Foundation, either version 3 of the License, or
	(at your option) any later version.

	This program is distributed in the hope that it will be useful,
	but WITHOUT ANY WARRANTY; without even the implied warranty of
	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
	GNU General Public License for more details.

	You should have received a copy of the GNU General Public License
	along with this program.  If not, see <https://www.gnu.org/licenses/>.
*/

package main

func Contains(a []string, x string) bool {