From aedad8cf81ead748b092f30758a7cbf783bf457c Mon Sep 17 00:00:00 2001 From: Greg Date: Mon, 8 Aug 2022 18:26:57 +0900 Subject: [PATCH] fix modules --- doc.go | 4 ++++ trealla/go.mod => go.mod | 2 +- trealla/go.sum => go.sum | 0 3 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 doc.go rename trealla/go.mod => go.mod (55%) rename trealla/go.sum => go.sum (100%) diff --git a/doc.go b/doc.go new file mode 100644 index 0000000..beba537 --- /dev/null +++ b/doc.go @@ -0,0 +1,4 @@ +// Package treallago is the parent package for embedding Trealla Prolog. +// Mostly this is an artifact of Go needing the repo root to have a go.mod. +// See the trealla subpackage. +package treallago diff --git a/trealla/go.mod b/go.mod similarity index 55% rename from trealla/go.mod rename to go.mod index 0b9a51e..66006f0 100644 --- a/trealla/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/trealla-prolog/go/trealla +module github.com/trealla-prolog/go go 1.18 diff --git a/trealla/go.sum b/go.sum similarity index 100% rename from trealla/go.sum rename to go.sum