MCPcopy Create free account

hub / github.com/buraksenyurt/golangsamples / functions

Functions121 in github.com/buraksenyurt/golangsamples

↓ 4 callersFunctionWriteToScreen
(e Southwind.Employee)
Web Programming/Lesson_28/server.go:58
↓ 4 callersFunctionrender
İkinci parametre göre bu fonksiyona categories, models, category gibi önceki fonksiyonlarda kullandığımız tüm nesneleri aktarabiliriz
Web Programming/Lesson_27/server.go:100
↓ 4 callersFunctionstartVehicleEngine
Metod parametre olarak VehicleContract arayüzünü alır Car ve Plane yapıları arayüzde belirtilen startEngine metodunu uyguladıklarından vehicle değişke
Lesson_10.go:46
↓ 4 callersFunctionwrite_vehice_to_console
fonksiyonlara struct tipini pointer üzerinden aktardık
Lesson_08.go:48
↓ 3 callersMethoduseAbility
Ability yapısına monte edilmiş olan useAbility isimli bir metod oyuncunun bir yeteneğini kullandırmak için
Lesson_09.go:54
↓ 2 callersFunctionCokluToplam
Bir fonksiyona n sayıda parametrede gönderebiliriz(Variadic fonksiyon)
Lesson_04.go:61
↓ 2 callersFunctionLoadSomeData
Örnek verileri yüklemek için kullanacağımız fonksiyon Geriye bir slice döndürecek
Web Programming/Lesson_25/server.go:69
↓ 2 callersFunctionSelect
(words []string, f predicate)
Lesson_19.go:35
↓ 2 callersFunctioncontainsSample
contains ile metin için metin arama örnek kullanımı
Lesson_18.go:114
↓ 2 callersFunctionhasPrefixSample
Bir metnin başında belirtilen ifadenin olup olmadığını söyler HasSuffix kullanımı da benzerdir. Sonunda aranan ifadenin olup olmadığını söyler
Lesson_18.go:77
↓ 2 callersFunctionloadDataSet
()
Web Programming/Lesson_26/Server.go:53
↓ 2 callersFunctionloop1
(min, max int)
Lesson_11.go:26
↓ 2 callersMethodmove
move isimli bir metod(kavramsal olarak fonksiyon değil metod ismini kullandığımıza dikkat edelim) oluşturduk Bu metod Vehicle tipinden yapılara uygula
Lesson_08.go:66
↓ 2 callersMethodsaySomething
player yapısına monte edilmiş saySomething metodu oyuncunun bir şeyler söylemesi için kullanılabilecek bir metod
Lesson_09.go:42
↓ 2 callersFunctionsomeJob
(msg chan string)
Lesson_15.go:41
↓ 2 callersFunctionwriteFileStats
bir dosya hakkında bilgiler edinme örneği
Lesson_20.go:97
↓ 1 callersFunctionCircleSpace
(r float32)
Bonus/Testing/operations.go:7
↓ 1 callersFunctionCreatePieChart
Pie Chart oluşturan fonksiyonumuz
Bonus/CreateChart/client.go:44
↓ 1 callersFunctionDortIslem
Bir fonksiyondan birden fazla değer döndürebiliriz Hatta dönüş değişkenlerini adlandırabilir ve fonskiyon içerisinde Bu isimlerle kullanabiliriz
Lesson_04.go:52
↓ 1 callersFunctionFaktoryel
Standart recursive(Özyinelemeli) fonksiyon örneği
Lesson_04.go:84
↓ 1 callersMethodGet
()
Web Programming/Lesson_29/NewsRoom/controllers/default.go:11
↓ 1 callersFunctionGetCard
(id string)
Bonus/Work with Redis/samples.go:69
↓ 1 callersFunctionGreetings
HandleFunc bildirimine göre http://localhost:2456/ adresine gelecek taleplere header 1 formatında Wellcome Back cevabı verilecek
Web Programming/Lesson_30/index.go:14
↓ 1 callersFunctionListener
(msg chan string)
Lesson_12.go:87
↓ 1 callersFunctionSavePieToFile
PieChart'ı dosyaya kaydeden fonksiyon
Bonus/CreateChart/client.go:32
↓ 1 callersFunctionSliceToplam
Fonksiyon parametresi olarak Array, Slice, Map'de kullanabiliriz
Lesson_04.go:70
↓ 1 callersFunctionSum
(numbers ...int)
Bonus/Testing/operations.go:11
↓ 1 callersMethodToString
()
Lesson_20.go:54
↓ 1 callersMethodToString
()
Bonus/Work with Redis/samples.go:89
↓ 1 callersFunctionTopla
En basit haliyle bir fonksiyon tanımı
Lesson_04.go:45
↓ 1 callersFunctionb
(a)
Web Programming/Lesson_29/NewsRoom/static/js/reload.min.js:1
↓ 1 callersFunctionbaglan
(conStr string)
Lesson_06.go:32
↓ 1 callersFunctionbellegi_temizle
()
Lesson_05.go:30
↓ 1 callersFunctioncalculate
(number *int)
Lesson_07.go:33
↓ 1 callersFunctioncountSample
bir paragraftaki kelime sayısını bulma örneğinde Count fonksiyonu kullanımı
Lesson_18.go:107
↓ 1 callersFunctioncounter
(info chan bool, duration time.Duration)
Lesson_15.go:47
↓ 1 callersFunctiondir
bir klasör içeriğini gösterelim
Lesson_20.go:112
↓ 1 callersFunctiondo_something
points bir slice ve referans türü
Lesson_07.go:48
↓ 1 callersFunctiondosya_ayristir
(dosya string)
Lesson_05.go:33
↓ 1 callersFunctiondosya_sifrele
(dosya string)
Lesson_05.go:20
↓ 1 callersFunctiondosyayi_kapat
(dosya string)
Lesson_05.go:27
↓ 1 callersFunctionfieldsFuncSample
*FieldsFunc örneği. İkinci parametreye dikkat. Normalde orada bir fonksiyon tanımı var. Parametre olarak geçen fonksiyon karakterin sayı olmama koşulu
Lesson_18.go:88
↓ 1 callersFunctionfieldsSample
fields fonksiyon örneği. Metinde geçen kelimelerden belli bir değerden uzun olanlarını listelemek
Lesson_18.go:96
↓ 1 callersFunctiongetFileList
(pathName string)
Lesson_17.go:27
↓ 1 callersFunctionincrease_Stock_By_Fifty
(stock *Stock)
Lesson_07.go:59
↓ 1 callersFunctionjobA
(msg chan string, sets string)
Lesson_14.go:35
↓ 1 callersFunctionjobB
(msg chan string, sets string)
Lesson_14.go:40
↓ 1 callersFunctionjobC
(msg chan string, sets string)
Lesson_14.go:45
↓ 1 callersFunctionloadPlayers
()
Web Programming/Lesson_24/server.go:40
↓ 1 callersFunctionloop2
()
Lesson_11.go:32
↓ 1 callersFunctionmap_yazdir
(icerik map[string]string)
Lesson_04.go:77
↓ 1 callersFunctionmicrophone
(sound chan<- string, message string)
Lesson_12.go:83
↓ 1 callersFunctionreadFile
dosya içeriğini okuma örneği - 1 parametre olarak gelen dosya içeriğini byte byte okuyup ekrana basacak
Lesson_20.go:61
↓ 1 callersFunctionreadFileWithIO
Dosya içeriğini okuma örneği - 2
Lesson_20.go:75
↓ 1 callersFunctionsoundBox
(sound <-chan string, volumeLevel int, duration int)
Lesson_12.go:80
↓ 1 callersMethodstartEngine
()
Lesson_10.go:40
↓ 1 callersFunctionworker
(completed chan bool)
Lesson_12.go:73
↓ 1 callersFunctionwriteToFile
dosya oluşturma ve içerisine string içerik yazma örneği
Lesson_20.go:85
↓ 1 callersFunctionwrite_all_vehicle_to_console
(vehicles []Vehicle)
Lesson_08.go:52
↓ 1 callersMethodwrite_with_space
word tipine(dolayısıyla string türüne) uygulayabileceğimiz bir metod
Lesson_08.go:74
FunctionAddCard
func AddAndReadHash() { conn, err := redis.Dial("tcp", "localhost:6379") if err != nil { fmt.Println(err.Error()) } else { defer conn.Close()
Bonus/Work with Redis/samples.go:54
FunctionCircleSpace
export CircleSpace
Bonus/UseWithRuby/SomeMath.go:16
FunctionGetCategories
(response http.ResponseWriter, request *http.Request, params httprouter.Params)
Web Programming/Lesson_26/Server.go:31
FunctionGetCities
Bu sefer bir gezegendeki şehirleri listeyeceğiz params üzerinden gezegen adını yakalayıp slice'dan onun şehirlerini bulacağız
Web Programming/Lesson_25/server.go:26
FunctionGetModelsByCategoryName
(response http.ResponseWriter, request *http.Request, params httprouter.Params)
Web Programming/Lesson_26/Server.go:39
FunctionGetPlanets
(response http.ResponseWriter, request *http.Request, params httprouter.Params)
Web Programming/Lesson_25/server.go:41
FunctionIndex
builtin kullandığımız http.HandleFunc'dan farklı olarak 3ncü bir parametremiz var. httpRouter.Params ile talep ile birlikte gelen parametreleri yakala
Web Programming/Lesson_25/server.go:52
FunctionTestBeego
TestBeego is a sample to run an endpoint test
Web Programming/Lesson_29/NewsRoom/tests/default_test.go:23
FunctionTestCircleSpace
(t *testing.T)
Bonus/Testing/operations_test.go:7
FunctionTestSum
(t *testing.T)
Bonus/Testing/operations_test.go:16
FunctionTest_Greetings
(t *testing.T)
Web Programming/Lesson_30/index_test.go:14
MethodWellcome
()
Web Programming/Lesson_29/NewsRoom/controllers/default.go:17
FunctioncreateCategory
(w http.ResponseWriter, r *http.Request, _ httprouter.Params)
Web Programming/Lesson_27/server.go:29
FunctiongetCategories
(w http.ResponseWriter, r *http.Request, _ httprouter.Params)
Web Programming/Lesson_27/server.go:44
FunctiongetModelsByCategoryId
(w http.ResponseWriter, r *http.Request, params httprouter.Params)
Web Programming/Lesson_27/server.go:58
FunctiongetModelsByFirstLetter
(w http.ResponseWriter, r *http.Request, params httprouter.Params)
Web Programming/Lesson_27/server.go:79
FunctiongetPlayers
Bu sefer slice içerisindeki tüm üyeleri JSON formatında yolluyoruz.
Lesson_22.go:34
FunctiongetPlayers
(response http.ResponseWriter, request *http.Request)
Web Programming/Lesson_24/server.go:19
FunctiongetWebPageContent
(page string, fileName string)
Lesson_21.go:27
Functionhome
(rWriter http.ResponseWriter, request *http.Request, _ httprouter.Params)
Web Programming/Lesson_27/server.go:95
Functioninit
()
Web Programming/Lesson_29/NewsRoom/tests/default_test.go:15
Functioninit
()
Web Programming/Lesson_29/NewsRoom/routers/router.go:9
Functionmain
()
Lesson_12.go:14
Functionmain
()
Lesson_21.go:14
Functionmain
()
Lesson_06.go:11
Functionmain
()
Lesson_20.go:15
Functionmain
()
Lesson_18.go:17
Functionmain
()
Lesson_07.go:11
Functionmain
()
Lesson_03.go:18
Functionmain
()
Lesson_19.go:11
Functionmain
()
Lesson_13.go:9
Functionmain
Uygulamanın giriş noktası her zaman main fonksiyonudur(entry point)
Lesson_01.go:21
Functionmain
()
Lesson_14.go:11
Functionmain
()
Lesson_11.go:14
Functionmain
()
Lesson_16.go:13
Functionmain
()
Lesson_17.go:11
Functionmain
()
Lesson_10.go:12
Functionmain
()
Lesson_09.go:12
Functionmain
()
Lesson_08.go:12
Functionmain
()
Lesson_05.go:12
next →1–100 of 121, ranked by callers