From bd8bb19436780f2d2221bb031be929030158f416 Mon Sep 17 00:00:00 2001 From: Martin Tournoij Date: Sun, 30 May 2021 23:52:40 +0800 Subject: [PATCH] Add /v2 to path Not sure if this works; let's see --- .readme.gotxt | 30 +++++++++++++----------------- README.markdown | 18 +++++++----------- go.mod | 2 +- 3 files changed, 21 insertions(+), 29 deletions(-) diff --git a/.readme.gotxt b/.readme.gotxt index ef11df9..7cd5f92 100644 --- a/.readme.gotxt +++ b/.readme.gotxt @@ -5,21 +5,16 @@ There are four commands: `identify` codepoints in a string, `search` for codepoints, `print` codepoints by class, block, or range, and `emoji` to find emojis. -There are binaries on the [releases][release] page, or compile from source with: +There are binaries on the [releases][release] page, and [packages][pkg] for a +number of platforms. You can also [run it in your browser][uni-wasm]. + +Compile from source with: $ git clone https://github.com/arp242/uni $ cd uni $ go build -which will give you a `./uni` binary. - -You can also [run it in your browser][uni-wasm]. - -Packages: -[Arch Linux](https://aur.archlinux.org/packages/uni/) · -[FreeBSD](https://www.freshports.org/textproc/uni) · -[Homebrew](https://formulae.brew.sh/formula/uni) · -[Void Linux](https://github.com/void-linux/void-packages/tree/master/srcpkgs/uni) +which will give you a `uni` binary. README index: - [Integrations](#integrations) @@ -35,6 +30,7 @@ README index: [uni-wasm]: https://arp242.github.io/uni-wasm/ [release]: https://github.com/arp242/uni/releases +[pkg]: https://repology.org/project/uni/versions Integrations ------------ @@ -124,7 +120,7 @@ Blocks: ### Emoji -The emoji command (shortcut: e is is the real reason I wrote this: +The `emoji` command (shortcut: `e`) is is the real reason I wrote this: {{example "e" "cry"}} @@ -198,12 +194,7 @@ some other tool if you want to process the data further. ChangeLog --------- -### v2.1.0 (unreleased) - -- Refactor the arp242.net/uni/unidata package to be more useful for other use - cases. This isn't really relevant for `uni` users as such, but if you want to - get information about codepoints or emojis then this package is a nice - addition to the standard library's `unicode` package. +### v2.1.0 (2021-03-30) - Can now output as JSON with `-j` or `-json`. @@ -213,6 +204,11 @@ ChangeLog - Add `%(block)`, `%(plane)`, `%(width)`, `%(utf16be)`, `%(utf16le)`, and `%(json) to `-f`. +- Refactor the arp242.net/uni/unidata package to be more useful for other use + cases. This isn't really relevant for `uni` users as such, but if you want to + get information about codepoints or emojis then this package is a nice + addition to the standard library's `unicode` package. + ### v2.0.0 (2021-01-03) This changes some flags, semantics, and defaults in **incompatible** ways, hence diff --git a/README.markdown b/README.markdown index bec89c1..ee11482 100644 --- a/README.markdown +++ b/README.markdown @@ -5,21 +5,16 @@ There are four commands: `identify` codepoints in a string, `search` for codepoints, `print` codepoints by class, block, or range, and `emoji` to find emojis. -There are binaries on the [releases][release] page, or compile from source with: +There are binaries on the [releases][release] page, and [packages][pkg] for a +number of platforms. You can also [run it in your browser][uni-wasm]. + +Compile from source with: $ git clone https://github.com/arp242/uni $ cd uni $ go build -which will give you a `./uni` binary. - -You can also [run it in your browser][uni-wasm]. - -Packages: -[Arch Linux](https://aur.archlinux.org/packages/uni/) · -[FreeBSD](https://www.freshports.org/textproc/uni) · -[Homebrew](https://formulae.brew.sh/formula/uni) · -[Void Linux](https://github.com/void-linux/void-packages/tree/master/srcpkgs/uni) +which will give you a `uni` binary. README index: - [Integrations](#integrations) @@ -35,6 +30,7 @@ README index: [uni-wasm]: https://arp242.github.io/uni-wasm/ [release]: https://github.com/arp242/uni/releases +[pkg]: https://repology.org/project/uni/versions Integrations ------------ @@ -176,7 +172,7 @@ Blocks: ### Emoji -The emoji command (shortcut: e is is the real reason I wrote this: +The `emoji` command (shortcut: `e`) is is the real reason I wrote this: $ uni e cry name (cldr) diff --git a/go.mod b/go.mod index d9e94a7..b3a4c0f 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module arp242.net/uni +module arp242.net/uni/v2 go 1.13