url

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BaseURL            = "https://atcoder.jp"
	HomePath           = "/home"
	LoginPath          = "/login"
	ContestArchivePath = "/contests/archive"
	ContestPath        = "/contests/{contestID}"
	ContestTaskPath    = "/contests/{contestID}/tasks"
	TaskPath           = "/contests/{contestID}/tasks/{id}"
	SubmitPath         = "/contests/{contestID}/submit"
	MySubmissionPath   = "/contests/{contestID}/submissions/me"
	SettingsPath       = "/settings"
)

Variables

This section is empty.

Functions

func ContestArchiveURL

func ContestArchiveURL() string

func ContestTaskURL

func ContestTaskURL(contestID string) string

func ContestURL

func ContestURL(contestID string) string

func HomeURL

func HomeURL() string

func LoginURL

func LoginURL() string

func MySubmissionURL

func MySubmissionURL(contestID string) string

func TaskURL

func TaskURL(contestID string, taskID string) string

func URL

func URL(path string, pathParams map[string]string, query Valuer) *url.URL

Types

type Valuer

type Valuer interface {
	URLValues() url.Values
}

Jump to

Keyboard shortcuts

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