urls

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NotSpecific

func NotSpecific(url string) bool

NotSpecific returns true when the URL refers to a Wikipedia article that is not specific enough to be a battle or participant. Example: https://en.wikipedia.org/wiki/History_of_Norway

func ShouldSkip

func ShouldSkip(url string) bool

ShouldSkip returns true when the URL refers to a non-wiki URL, or to a Wikipedia article that is not really a battle or participant, but that usually appears in places where they could be mistaken for being one. Example: https://en.wikipedia.org/wiki/Prisoner_of_war

Types

This section is empty.

Jump to

Keyboard shortcuts

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