From 9be1806eb96439797047c93c42523d980829a96a Mon Sep 17 00:00:00 2001 From: dyma solovei Date: Mon, 15 Jan 2024 13:50:38 +0100 Subject: [PATCH] doc: report current release version --- convert.go | 2 -- version.go | 11 +++++++++++ 2 files changed, 11 insertions(+), 2 deletions(-) create mode 100644 version.go diff --git a/convert.go b/convert.go index b64a73f..6ec265d 100644 --- a/convert.go +++ b/convert.go @@ -3,8 +3,6 @@ package nb import ( "io" - _ "github.com/bevzzz/nb/schema/v4" - "github.com/bevzzz/nb/decode" "github.com/bevzzz/nb/render" "github.com/bevzzz/nb/render/html" diff --git a/version.go b/version.go new file mode 100644 index 0000000..c0ba179 --- /dev/null +++ b/version.go @@ -0,0 +1,11 @@ +package nb + +import ( + // Currently supported nbformat versions: + _ "github.com/bevzzz/nb/schema/v4" +) + +// Version returns current release version. +func Version() string { + return "v0.1.0" +}