Skip to content

irisqaz/practice-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

practice-go

Practice the exercises. The exercises build upon previous exercises and may be shown in braces {}.

when completed mark the checkbox as
  [x] helloWorld
  • helloWorld

numbers

  • numbers

Type Conversion

  • intToFloat
  • floatToInt
  • byteToRune
  • intToStr

int -> bool

  • same
  • gte
  • isEven
  • isOdd

bool -> bool

  • and
  • or

int -> bool -> bool

  • isSameOdd {same, isOdd}

int -> int

  • max
  • mathMax {intToFloat, floatToInt}

float -> float

  • absFloat

float -> bool

  • diffFloat

rune -> bool

  • isWhiteSpace {byteToRune}

Strings

  • joinStr
  • joinInts {intToStr, joinStr}
  • hasWSpace {isWhiteSpace}
  • htmlElement {joinStr}
  • substring {between}
  • hasPrefix
  • hasSuffix

Slices/Arrays

  • inFirst
  • inLast
  • inEnds
  • contains
  • between
  • isPrefix {between}
  • isSuffix {between}
  • indexOf
  • count
  • sum

File input/output

  • createFile
  • openReading
  • writeFile

Structs

  • requestStruct
  • contactStruct

Concurrency

  • ?
  • requestStruct
  • contactStruct

About

golang examples

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages