Documentation ¶
Index ¶
- Constants
- func GetContestIdFromTask(url string) string
- func GetTaskIdFromTask(url string) string
- func IsTask(url string) bool
- func Login() string
- func Ltoi(lang ccc.Lang) (string, error)
- func SubmissionMePath(contestId string) string
- func TaskPath(contestId, taskId string) string
- type Client
- type LoginForm
- type LoginPage
- type SubmitForm
- type Task
- type TaskPage
Constants ¶
View Source
const ( Base = "https://atcoder.jp" LoginPath = "/login" TaskPathFormat = "/contests/%s/tasks/%s" // contestId, taskId SubmissionMePathFormat = "/contests/%s/submissions/me" // contestId )
Variables ¶
This section is empty.
Functions ¶
func GetContestIdFromTask ¶
func GetTaskIdFromTask ¶
func SubmissionMePath ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) GetSubmission ¶
type SubmitForm ¶
func (*SubmitForm) CSRFToken ¶
func (form *SubmitForm) CSRFToken() string
type Task ¶
func NewTaskFromUrl ¶
type TaskPage ¶
func (*TaskPage) SubmitForm ¶
func (p *TaskPage) SubmitForm() *SubmitForm
Source Files ¶
Click to show internal directories.
Click to hide internal directories.