start

package module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: MIT Imports: 37 Imported by: 0

README

Go Start

In this package, it has been tried to bring all the important basic methods to start teaching Gulang programming language. You can call the methods in the simplest possible way and use them, and if needed, create other examples with them and increase your programming skills in this field.

Good luck..

Linkedin: ROHAM SHAHEDI

Github: ROHAM96

is typing..|

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrOutOfTea = fmt.Errorf("no more tea available")
View Source
var ErrPower = fmt.Errorf("can't boil water")

Functions

func Add

func Add(a int, b int) int

Returns the sum of two numbers

func Arrays

func Arrays()

func AtomicCounters

func AtomicCounters()

func Base64Encoding

func Base64Encoding()

func BenchmarkIntMin

func BenchmarkIntMin(b *testing.B)

func ChannelBuffering

func ChannelBuffering()

func ChannelDirections

func ChannelDirections()

func ChannelSynchronization

func ChannelSynchronization()

func Channels

func Channels()

func ClosingChannels

func ClosingChannels()

func Closures

func Closures()

func CommandLineArguments

func CommandLineArguments()

func CommandLineFlags

func CommandLineFlags()

func CommandLineSubcommands

func CommandLineSubcommands()

func Constants

func Constants()

func Context

func Context()

func CustomErrors

func CustomErrors()

func Defer

func Defer()

func Directories

func Directories()

func EmbedDirective

func EmbedDirective()

func EnvironmentVariables

func EnvironmentVariables()

func Epoch

func Epoch()

func Errors

func Errors()

func ExamineRune

func ExamineRune(r rune)

func ExecingProcesses

func ExecingProcesses()

func Exit

func Exit()

func F

func F(arg int) (int, error)

func FF

func FF(arg int) (int, error)

func FFF

func FFF(from string)

func Fact

func Fact(n int) int

func FilePaths

func FilePaths()

func For

func For()

func Functions

func Functions()

func Generics

func Generics()

func Goroutines

func Goroutines()

func HTTPClient

func HTTPClient()

func HTTPServer

func HTTPServer()

func IfElse

func IfElse()

func IntMin

func IntMin(a, b int) int

func IntSeq

func IntSeq() func() int

func Interfaces

func Interfaces()

func Json

func Json()

func LineFilters

func LineFilters()

func Logging

func Logging()

func MRV

func MRV()

func MapKeys

func MapKeys[K comparable, V any](m map[K]V) []K

func Maps

func Maps()

func Measure

func Measure(g Geometry)

func Methods

func Methods()

func Mutexes

func Mutexes()

func NBCO

func NBCO()

func NumberParsing

func NumberParsing()

func Panic

func Panic()

func Plus

func Plus(a int, b int) int

func PlusPlus

func PlusPlus(a, b, c int) int

func Pointers

func Pointers()

func ROC

func ROC()

func RandomNumbers

func RandomNumbers()

func Range

func Range()

func RateLimiting

func RateLimiting()

func ReadingFiles

func ReadingFiles()

func Recover

func Recover()

func Recursion

func Recursion()

func RegularExpressions

func RegularExpressions()

func SBF

func SBF()

func SE

func SE()

func SHA256Hashes

func SHA256Hashes()

func SaR

func SaR()

func Select

func Select()

func Signals

func Signals()

func Slices

func Slices()

func Sorting

func Sorting()

func SpawningProcesses

func SpawningProcesses()

func StatefulGoroutines

func StatefulGoroutines()

func StringFormatting

func StringFormatting()

func StringFunctions

func StringFunctions()

func Structs

func Structs()

func Subtract

func Subtract(a int, b int) int

Returns the difference between two numbers

func Sum

func Sum(nums ...int)

func Switch

func Switch()

func TFAD

func TFAD()

func TestIntMinBasic

func TestIntMinBasic(t *testing.T)

func TestIntMinTableDriven

func TestIntMinTableDriven(t *testing.T)

func TextTemplates

func TextTemplates()

func Tickers

func Tickers()

func Time01

func Time01()

func TimeFormattingParsing

func TimeFormattingParsing()

func Timeouts

func Timeouts()

func Timers

func Timers()

func URLParsing

func URLParsing()

func VF

func VF()

func Vals

func Vals() (int, int)

func Values

func Values()

func Variables

func Variables()

func WWorker

func WWorker(id int)

func WaitGroups

func WaitGroups()

func Worker

func Worker(id int, jobs <-chan int, results chan<- int)

func WorkerPools

func WorkerPools()

func WritingFiles

func WritingFiles()

func Xml

func Xml()

func Zeroptr

func Zeroptr(iptr *int)

func Zeroval

func Zeroval(ival int)

Types

type ArgError

type ArgError struct {
	// contains filtered or unexported fields
}

func (*ArgError) Error

func (e *ArgError) Error() string

type Base

type Base struct {
	// contains filtered or unexported fields
}

type Circle

type Circle struct {
	// contains filtered or unexported fields
}

type Container

type Container struct {
	Base
	// contains filtered or unexported fields
}

type Container01

type Container01 struct {
	// contains filtered or unexported fields
}

type Element

type Element[T any] struct {
	// contains filtered or unexported fields
}

type Geometry

type Geometry interface {
	// contains filtered or unexported methods
}

type List

type List[T any] struct {
	// contains filtered or unexported fields
}

func (*List[T]) GetAll

func (lst *List[T]) GetAll() []T

func (*List[T]) Push

func (lst *List[T]) Push(v T)

type Person

type Person struct {
	// contains filtered or unexported fields
}

type Plant

type Plant struct {
	XMLName xml.Name `xml:"plant"`
	Id      int      `xml:"id,attr"`
	Name    string   `xml:"name"`
	Origin  []string `xml:"origin"`
}

func (Plant) String

func (p Plant) String() string

type Rect

type Rect struct {
	// contains filtered or unexported fields
}

type Rect01

type Rect01 struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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