From 613139e7bef81d3573e7988a47eb6765f3de347a Mon Sep 17 00:00:00 2001
From: Unknwon
Date: Wed, 23 Oct 2019 23:03:17 -0700
Subject: Enable Go modules (#5835)
* Remove vendor
* Enable Go modules
* ci: add command to fetch dependencies
* ci: update setting
* ci: update settings
* Require Go 1.11
* Rename module name to gogs.io/gogs
---
vendor/github.com/jaytaylor/html2text/LICENSE | 22 --
vendor/github.com/jaytaylor/html2text/README.md | 112 --------
vendor/github.com/jaytaylor/html2text/html2text.go | 300 ---------------------
3 files changed, 434 deletions(-)
delete mode 100644 vendor/github.com/jaytaylor/html2text/LICENSE
delete mode 100644 vendor/github.com/jaytaylor/html2text/README.md
delete mode 100644 vendor/github.com/jaytaylor/html2text/html2text.go
(limited to 'vendor/github.com/jaytaylor/html2text')
diff --git a/vendor/github.com/jaytaylor/html2text/LICENSE b/vendor/github.com/jaytaylor/html2text/LICENSE
deleted file mode 100644
index 24dc4abe..00000000
--- a/vendor/github.com/jaytaylor/html2text/LICENSE
+++ /dev/null
@@ -1,22 +0,0 @@
-The MIT License (MIT)
-
-Copyright (c) 2015 Jay Taylor
-
-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/vendor/github.com/jaytaylor/html2text/README.md b/vendor/github.com/jaytaylor/html2text/README.md
deleted file mode 100644
index 6e67dbcc..00000000
--- a/vendor/github.com/jaytaylor/html2text/README.md
+++ /dev/null
@@ -1,112 +0,0 @@
-# html2text
-
-[](https://godoc.org/github.com/jaytaylor/html2text)
-[](https://travis-ci.org/jaytaylor/html2text)
-[](https://goreportcard.com/report/github.com/jaytaylor/html2text)
-
-### Converts HTML into text
-
-
-## Introduction
-
-html2text is a simple golang package for rendering HTML into plaintext.
-
-There are still lots of improvements to be had, but FWIW this has worked fine for my [basic] HTML-2-text needs.
-
-It requires go 1.x or newer ;)
-
-
-## Download the package
-
-```bash
-go get github.com/jaytaylor/html2text
-```
-
-## Example usage
-
-```go
-package main
-
-import (
- "fmt"
-
- "github.com/jaytaylor/html2text"
-)
-
-func main() {
- inputHtml := `
-
-
- My Mega Service
-
-
-
-
-
-