gomanga

package module
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2023 License: MIT Imports: 2 Imported by: 1 module, 1 package

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

gomanga

✨ The project aims to make manga reading easier, allowing you to view chapters directly from popular sources. Enjoy the convenience of accessing your favorite manga in one place! 📚💻

📦 Install

go get github.com/chrissgon/gomanga

🚀 Quick Start

Search by all providers:

import "github.com/chrissgon/gomanga"

gomanga.SearchByProviders("naruto", "1")

Search by specific provider:

import "github.com/chrissgon/gomanga"

gomanga.SearchByProvider("naruto", "1", gomanga.MUITOMANGA)
✅ Providers
OK SITE NAME LANGUAGE
✅ MangaLivre MANGALIVRE PT-BR
✅ LerManga LERMANGA PT-BR
❌ MuitoManga MUITOMANGA PT-BR

🔒 Environment Variables

When you run this project, you can set the following environment variables.

GOMANGA_TIMEOUT: Search timeout in seconds.

💪🏻 Contribution

This project is open source and welcomes community contributions. Feel free to fork, implement improvements, and submit a pull request. Every contribution is valued and appreciated!

We hope that gomanga proves useful to you and enhances your manga reading experience. Feel free to explore the source code, provide feedback, and report any issues you encounter.

💚 Authors

Documentation

Index

Constants

View Source
const (
	MANGALIVRE PROVIDER_NAMES = "MANGALIVRE"
	MUITOMANGA                = "MUITOMANGA"
	LERMANGA                  = "LERMANGA"
)

Variables

This section is empty.

Functions

func NewProvider

func NewProvider(manga, chapter string, providerName PROVIDER_NAMES) pkg.Provider

make provider

func NewProviders

func NewProviders(manga, chapter string) (all []pkg.Provider)

make providers

func SearchByProvider

func SearchByProvider(manga, chapter string, providerName PROVIDER_NAMES) ([]string, error)

search manga by especific provider

func SearchByProviders

func SearchByProviders(manga, chapter string) ([]string, error)

search manga by providers

Types

type PROVIDER_NAMES

type PROVIDER_NAMES string

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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