estimator

package
v0.0.0-...-169bdd1 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2020 License: GPL-2.0 Imports: 3 Imported by: 0

Documentation

Overview

package estimator prints estimatives about your code metrics based on famous places, momuments. --

Copyright (C) 2020 by Rafael Santiago

Use of this source code is governed by GPL-v2 license that can be found in the COPYING file.

package estimator prints estimatives about your code metrics based on famous places, momuments. --

Copyright (C) 2020 by Rafael Santiago

Use of this source code is governed by GPL-v2 license that can be found in the COPYING file.

package estimator prints estimatives about your code metrics based on famous places, momuments. --

Copyright (C) 2020 by Rafael Santiago

Use of this source code is governed by GPL-v2 license that can be found in the COPYING file.

package estimator prints estimatives about your code metrics based on famous places, momuments. --

Copyright (C) 2020 by Rafael Santiago

Use of this source code is governed by GPL-v2 license that can be found in the COPYING file.

package estimator prints estimatives about your code metrics based on famous places, momuments. --

Copyright (C) 2020 by Rafael Santiago

Use of this source code is governed by GPL-v2 license that can be found in the COPYING file.

package estimator prints estimatives about your code metrics based on famous places, momuments. --

Copyright (C) 2020 by Rafael Santiago

Use of this source code is governed by GPL-v2 license that can be found in the COPYING file.

package estimator prints estimatives about your code metrics based on famous places, momuments. --

Copyright (C) 2020 by Rafael Santiago

Use of this source code is governed by GPL-v2 license that can be found in the COPYING file.

package estimator prints estimatives about your code metrics based on famous places, momuments. --

Copyright (C) 2020 by Rafael Santiago

Use of this source code is governed by GPL-v2 license that can be found in the COPYING file.

package estimator prints estimatives about your code metrics based on famous places, momuments. --

Copyright (C) 2020 by Rafael Santiago

Use of this source code is governed by GPL-v2 license that can be found in the COPYING file.

package estimator prints estimatives about your code metrics based on famous places, momuments. --

Copyright (C) 2020 by Rafael Santiago

Use of this source code is governed by GPL-v2 license that can be found in the COPYING file.

package estimator prints estimatives about your code metrics based on famous places, momuments. --

Copyright (C) 2020 by Rafael Santiago

Use of this source code is governed by GPL-v2 license that can be found in the COPYING file.

package estimator prints estimatives about your code metrics based on famous places, momuments. --

Copyright (C) 2020 by Rafael Santiago

Use of this source code is governed by GPL-v2 license that can be found in the COPYING file.

package estimator prints estimatives about your code metrics based on famous places, momuments. --

Copyright (C) 2020 by Rafael Santiago

Use of this source code is governed by GPL-v2 license that can be found in the COPYING file.

package estimator prints estimatives about your code metrics based on famous places, momuments. --

Copyright (C) 2020 by Rafael Santiago

Use of this source code is governed by GPL-v2 license that can be found in the COPYING file.

package estimator prints estimatives about your code metrics based on famous places, momuments. --

Copyright (C) 2020 by Rafael Santiago

Use of this source code is governed by GPL-v2 license that can be found in the COPYING file.

package estimator prints estimatives about your code metrics based on famous places, momuments. --

Copyright (C) 2020 by Rafael Santiago

Use of this source code is governed by GPL-v2 license that can be found in the COPYING file.

package estimator prints estimatives about your code metrics based on famous places, momuments. --

Copyright (C) 2020 by Rafael Santiago

Use of this source code is governed by GPL-v2 license that can be found in the COPYING file.

package estimator prints estimatives about your code metrics based on famous places, momuments. --

Copyright (C) 2020 by Rafael Santiago

Use of this source code is governed by GPL-v2 license that can be found in the COPYING file.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Estimate

func Estimate(estimator Estimator, codestat *ruler.CodeStat) string

Does a specific estimative.

Types

type ArcDeTriomphe

type ArcDeTriomphe struct{}

func (*ArcDeTriomphe) Estimate

func (a *ArcDeTriomphe) Estimate(codestat *ruler.CodeStat) string

Returns a string with some estimative of your code against Arc de Triomphe size.

func (*ArcDeTriomphe) K

func (a *ArcDeTriomphe) K() float64

Returns the size of Arc de Triomphe.

type BigBang

type BigBang struct{}

func (*BigBang) Estimate

func (b *BigBang) Estimate(codestat *ruler.CodeStat) string

Returns a string with some estimative of your code against Big Bang size.

func (*BigBang) K

func (b *BigBang) K() float64

Returns the size of Big Bang.

type ChineseGreatWall

type ChineseGreatWall struct{}

func (*ChineseGreatWall) Estimate

func (c *ChineseGreatWall) Estimate(codestat *ruler.CodeStat) string

Returns a string with some estimative of your code against Chinese great wall size.

func (*ChineseGreatWall) K

func (c *ChineseGreatWall) K() float64

Returns the size of Chinese great wall.

type ChristTheRedeemer

type ChristTheRedeemer struct{}

func (*ChristTheRedeemer) Estimate

func (c *ChristTheRedeemer) Estimate(codestat *ruler.CodeStat) string

Returns a string with some estimative of your code against Christ the Redmeer size.

func (*ChristTheRedeemer) K

func (c *ChristTheRedeemer) K() float64

Returns the size of Christ the Redeemer.

type Coliseum

type Coliseum struct{}

func (*Coliseum) Estimate

func (c *Coliseum) Estimate(codestat *ruler.CodeStat) string

Returns a string with some estimative of your code against Coliseum size.

func (*Coliseum) K

func (c *Coliseum) K() float64

Returns the size of Coliseum.

type EiffelTower

type EiffelTower struct{}

func (*EiffelTower) Estimate

func (e *EiffelTower) Estimate(codestat *ruler.CodeStat) string

Returns a string with some estimative of your code against Eifferl tower size.

func (*EiffelTower) K

func (e *EiffelTower) K() float64

Returns the size of Eiffel tower.

type EmpireStateBuilding

type EmpireStateBuilding struct{}

func (*EmpireStateBuilding) Estimate

func (e *EmpireStateBuilding) Estimate(codestat *ruler.CodeStat) string

Returns a string with some estimative of your code against Empire State Building size.

func (*EmpireStateBuilding) K

Returns the size of Empire State Building.

type Estimator

type Estimator interface {
	Estimate(codestat *ruler.CodeStat) string
	K() float64
}

Defines basic functions that any estimator must have

type FrogTraveler

type FrogTraveler struct{}

func (*FrogTraveler) Estimate

func (f *FrogTraveler) Estimate(codestat *ruler.CodeStat) string

Returns a string with some estimative of your code against Frog-Traveler size.

func (*FrogTraveler) K

func (f *FrogTraveler) K() float64

Returns the size of Frog-Traveler.

type IguazuFalls

type IguazuFalls struct{}

func (*IguazuFalls) Estimate

func (i *IguazuFalls) Estimate(codestat *ruler.CodeStat) string

Returns a string with some estimative of your code against Iguazu Falls size.

func (*IguazuFalls) K

func (i *IguazuFalls) K() float64

Returns the size of Iguazu Falls.

type LibertyStatue

type LibertyStatue struct{}

func (*LibertyStatue) Estimate

func (l *LibertyStatue) Estimate(codestat *ruler.CodeStat) string

Returns a string with some estimative of your code against Liberty Statue size.

func (*LibertyStatue) K

func (l *LibertyStatue) K() float64

Returns the size of Liberty Statue.

type MountEverest

type MountEverest struct{}

func (*MountEverest) Estimate

func (m *MountEverest) Estimate(codestat *ruler.CodeStat) string

Returns a string with some estimative of your code against Mount Everest size.

func (*MountEverest) K

func (m *MountEverest) K() float64

Returns the size of Mount Everest.

type NiagaraFalls

type NiagaraFalls struct{}

func (*NiagaraFalls) Estimate

func (n *NiagaraFalls) Estimate(codestat *ruler.CodeStat) string

Returns a string with some estimative of your code against Niagara Falls size.

func (*NiagaraFalls) K

func (n *NiagaraFalls) K() float64

Returns the size of Niagara Falls.

type Pantheon

type Pantheon struct{}

func (*Pantheon) Estimate

func (p *Pantheon) Estimate(codestat *ruler.CodeStat) string

Returns a string with some estimative of your code against Pantheon size.

func (*Pantheon) K

func (p *Pantheon) K() float64

Returns the size of Pantheon.

type PaulistaAvenue

type PaulistaAvenue struct{}

func (*PaulistaAvenue) Estimate

func (p *PaulistaAvenue) Estimate(codestat *ruler.CodeStat) string

Returns a string with some estimative of your code against Paulista avenue size.

func (*PaulistaAvenue) K

func (p *PaulistaAvenue) K() float64

Returns the size of Paulista avenue, mano.

type SistineChapel

type SistineChapel struct{}

func (*SistineChapel) Estimate

func (s *SistineChapel) Estimate(codestat *ruler.CodeStat) string

Returns a string with some estimative of your code against Sistine Chapel size.

func (*SistineChapel) K

func (s *SistineChapel) K() float64

Returns the size of Sistine Chapel.

type WallStreet

type WallStreet struct{}

func (*WallStreet) Estimate

func (w *WallStreet) Estimate(codestat *ruler.CodeStat) string

Returns a string with some estimative of your code against Wall street size.

func (*WallStreet) K

func (w *WallStreet) K() float64

Returns the size of Wall street.

type WashingtonMonument

type WashingtonMonument struct{}

func (*WashingtonMonument) Estimate

func (w *WashingtonMonument) Estimate(codestat *ruler.CodeStat) string

Returns a string with some estimative of your code against Washington Monument size.

func (*WashingtonMonument) K

func (w *WashingtonMonument) K() float64

Returns the size of Washington Monument.

Jump to

Keyboard shortcuts

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