modules

package
v1.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 17, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Modules = []Module{
	{"cobra", "github.com/spf13/cobra", Tags{CLI}},
	{"pterm", "github.com/pterm/pterm", Tags{CLI}},
	{"survey", "github.com/AlecAivazis/survey/v2", Tags{CLI}},
	{"fyne", "github.com/fyne-io/fyne/v2", Tags{GUI}},
	{"webview", "github.com/webview/webview", Tags{GUI}},
	{"logrus", "github.com/sirupsen/logrus", Tags{LOGGING}},
	{"zap", "go.uber.org/zap", Tags{LOGGING}},
	{"zerolog", "github.com/rs/zerolog/log", Tags{LOGGING}},
	{"gorm", "github.com/go-gorm/gorm", Tags{ORM}},
	{"testify", "github.com/stretchr/testify", Tags{TEST_FRAMEWORK}},
	{"testza", "github.com/MarvinJWendt/testza", Tags{TEST_FRAMEWORK}},
	{"beego", "github.com/beego/beego/v2", Tags{WEB_FRAMEWORK}},
	{"fasthttp", "github.com/valyala/fasthttp", Tags{WEB_FRAMEWORK}},
	{"fiber", "github.com/gofiber/fiber/v2", Tags{WEB_FRAMEWORK}},
	{"gin", "github.com/gin-gonic/gin", Tags{WEB_FRAMEWORK}},
	{"lo", "github.com/samber/lo", Tags{UTILS}},
	{"colly", "github.com/gocolly/colly/v2", Tags{WEB_SCRAPER}},
	{"excelize", "github.com/qax-os/excelize/v2", Tags{DOCUMENT_PARSER}},
	{"gjson", "github.com/tidwall/gjson", Tags{PARSER}},
	{"urfave/cli", "github.com/urfave/cli/v2", Tags{CLI}},
	{"gorilla/mux", "github.com/gorilla/mux", Tags{WEB_FRAMEWORK}},
	{"gorilla/websocket", "github.com/gorilla/websocket", Tags{WEBSOCKET}},
	{"ebiten", "github.com/hajimehoshi/ebiten/v2", Tags{GAME_ENGINE}},
}

Functions

func FetchNewModules added in v1.1.0

func FetchNewModules()

FetchNewModules fetches all registered modules from GitHub

Types

type Module

type Module struct {
	Name string `json:"name"`
	Path string `json:"path"`
	Tags Tags   `json:"tags"`
}

type Tag

type Tag string
const (
	WEB_FRAMEWORK   Tag = "Web Framework"
	WEB_SCRAPER     Tag = "Web Scraper"
	CLI             Tag = "CLI"
	TEST_FRAMEWORK  Tag = "Test Framework"
	ORM             Tag = "ORM"
	LOGGING         Tag = "Logging"
	GUI             Tag = "GUI"
	UTILS           Tag = "Utils"
	DOCUMENT_PARSER Tag = "Document Parser"
	PARSER          Tag = "Parser"
	WEBSOCKET       Tag = "Websocket"
	GAME_ENGINE     Tag = "Game Engine"
)

type Tags

type Tags []Tag

func (Tags) String added in v1.2.0

func (t Tags) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL