From 12d9012c08afafd0d32f675a030e98c8928e08ee Mon Sep 17 00:00:00 2001 From: Christine Dodrill Date: Thu, 29 Apr 2021 10:58:59 +0000 Subject: [PATCH] initial commit Signed-off-by: Christine Dodrill --- .envrc | 1 + LICENSE | 19 +++++++++++++++++++ gemlist/input/.gitignore | 2 ++ gempub.go | 1 + go.mod | 3 +++ shell.nix | 10 ++++++++++ 6 files changed, 36 insertions(+) create mode 100644 .envrc create mode 100644 LICENSE create mode 100644 gemlist/input/.gitignore create mode 100644 gempub.go create mode 100644 go.mod create mode 100644 shell.nix diff --git a/.envrc b/.envrc new file mode 100644 index 0000000..051d09d --- /dev/null +++ b/.envrc @@ -0,0 +1 @@ +eval "$(lorri direnv)" diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..8b6a425 --- /dev/null +++ b/LICENSE @@ -0,0 +1,19 @@ +Copyright (c) 2021 Christine Dodrill + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/gemlist/input/.gitignore b/gemlist/input/.gitignore new file mode 100644 index 0000000..418708b --- /dev/null +++ b/gemlist/input/.gitignore @@ -0,0 +1,2 @@ +*.txt +*.gz diff --git a/gempub.go b/gempub.go new file mode 100644 index 0000000..2a6c83e --- /dev/null +++ b/gempub.go @@ -0,0 +1 @@ +package gempub diff --git a/go.mod b/go.mod new file mode 100644 index 0000000..e6fa168 --- /dev/null +++ b/go.mod @@ -0,0 +1,3 @@ +module tulpa.dev/cadey/gempub + +go 1.16 diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..265f430 --- /dev/null +++ b/shell.nix @@ -0,0 +1,10 @@ +{ pkgs ? import {} }: + +pkgs.mkShell { + buildInputs = with pkgs; [ + go gopls goimports sqliteInteractive pkg-config + + # keep this line if you use bash + pkgs.bashInteractive + ]; +}