sample

package
v0.0.0-...-cfd203f Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCPU

func NewCPU() *pb.CPU

NewCPU creates a new CPU

func NewGPU

func NewGPU() *pb.GPU

NewGPU returns new GPU

func NewHDD

func NewHDD() *pb.Storage

NewHDD creates new HDD

func NewLaptop

func NewLaptop() *pb.Laptop

NewLaptop creates a new laptop

func NewRAM

func NewRAM() *pb.Memory

NewRAM returns new RAM

func NewSSD

func NewSSD() *pb.Storage

NewSSD creates new SSD

func NewScreen

func NewScreen() *pb.Screen

NewScreen returns new screen size

func Newkeyboard

func Newkeyboard() *pb.Keyboard

Newkeyboard creates new kyboard object

func RandomLaptopScore

func RandomLaptopScore() float64

RandomLaptopScore returns a random score

Types

This section is empty.

Jump to

Keyboard shortcuts

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