euler

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package euler contains all project euler related functionality.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Download

func Download(url string, lang string, force bool) (string, error)

Types

type Problem

type Problem struct {
	ID       int
	Language string
	Runner   runners.Runner
	// contains filtered or unexported fields
}

func New

func New(id int, lang string) *Problem

func (*Problem) Dir

func (p *Problem) Dir() string

func (*Problem) SetLanguage

func (p *Problem) SetLanguage(lang string)

func (*Problem) Solve

func (p *Problem) Solve(_ bool) error

func (*Problem) String

func (p *Problem) String() string

func (*Problem) Test

func (p *Problem) Test() error

Jump to

Keyboard shortcuts

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