news

package
v0.0.0-...-041f4c2 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2020 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Article

type Article struct {
	*Base
	// contains filtered or unexported fields
}

func NewArticle

func NewArticle(country string, name string) *Article

func (*Article) FetchAuthorById

func (a *Article) FetchAuthorById(id string) map[string]interface{}

func (*Article) FetchLocalCache

func (a *Article) FetchLocalCache() interface{}

func (*Article) GetTitleByName

func (a *Article) GetTitleByName(name string) string

type Base

type Base struct {
	Name string
}

func NewBase

func NewBase(name string) *Base

func (*Base) FetchName

func (a *Base) FetchName() string

Jump to

Keyboard shortcuts

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