Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/buraksenyurt/golangsamples
/ functions
Functions
121 in github.com/buraksenyurt/golangsamples
⨍
Functions
121
◇
Types & classes
27
↓ 4 callers
Function
WriteToScreen
(e Southwind.Employee)
Web Programming/Lesson_28/server.go:58
↓ 4 callers
Function
render
İ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 callers
Function
startVehicleEngine
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 callers
Function
write_vehice_to_console
fonksiyonlara struct tipini pointer üzerinden aktardık
Lesson_08.go:48
↓ 3 callers
Method
useAbility
Ability yapısına monte edilmiş olan useAbility isimli bir metod oyuncunun bir yeteneğini kullandırmak için
Lesson_09.go:54
↓ 2 callers
Function
CokluToplam
Bir fonksiyona n sayıda parametrede gönderebiliriz(Variadic fonksiyon)
Lesson_04.go:61
↓ 2 callers
Function
LoadSomeData
Örnek verileri yüklemek için kullanacağımız fonksiyon Geriye bir slice döndürecek
Web Programming/Lesson_25/server.go:69
↓ 2 callers
Function
Select
(words []string, f predicate)
Lesson_19.go:35
↓ 2 callers
Function
containsSample
contains ile metin için metin arama örnek kullanımı
Lesson_18.go:114
↓ 2 callers
Function
hasPrefixSample
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 callers
Function
loadDataSet
()
Web Programming/Lesson_26/Server.go:53
↓ 2 callers
Function
loop1
(min, max int)
Lesson_11.go:26
↓ 2 callers
Method
move
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 callers
Method
saySomething
player yapısına monte edilmiş saySomething metodu oyuncunun bir şeyler söylemesi için kullanılabilecek bir metod
Lesson_09.go:42
↓ 2 callers
Function
someJob
(msg chan string)
Lesson_15.go:41
↓ 2 callers
Function
writeFileStats
bir dosya hakkında bilgiler edinme örneği
Lesson_20.go:97
↓ 1 callers
Function
CircleSpace
(r float32)
Bonus/Testing/operations.go:7
↓ 1 callers
Function
CreatePieChart
Pie Chart oluşturan fonksiyonumuz
Bonus/CreateChart/client.go:44
↓ 1 callers
Function
DortIslem
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 callers
Function
Faktoryel
Standart recursive(Özyinelemeli) fonksiyon örneği
Lesson_04.go:84
↓ 1 callers
Method
Get
()
Web Programming/Lesson_29/NewsRoom/controllers/default.go:11
↓ 1 callers
Function
GetCard
(id string)
Bonus/Work with Redis/samples.go:69
↓ 1 callers
Function
Greetings
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 callers
Function
Listener
(msg chan string)
Lesson_12.go:87
↓ 1 callers
Function
SavePieToFile
PieChart'ı dosyaya kaydeden fonksiyon
Bonus/CreateChart/client.go:32
↓ 1 callers
Function
SliceToplam
Fonksiyon parametresi olarak Array, Slice, Map'de kullanabiliriz
Lesson_04.go:70
↓ 1 callers
Function
Sum
(numbers ...int)
Bonus/Testing/operations.go:11
↓ 1 callers
Method
ToString
()
Lesson_20.go:54
↓ 1 callers
Method
ToString
()
Bonus/Work with Redis/samples.go:89
↓ 1 callers
Function
Topla
En basit haliyle bir fonksiyon tanımı
Lesson_04.go:45
↓ 1 callers
Function
b
(a)
Web Programming/Lesson_29/NewsRoom/static/js/reload.min.js:1
↓ 1 callers
Function
baglan
(conStr string)
Lesson_06.go:32
↓ 1 callers
Function
bellegi_temizle
()
Lesson_05.go:30
↓ 1 callers
Function
calculate
(number *int)
Lesson_07.go:33
↓ 1 callers
Function
countSample
bir paragraftaki kelime sayısını bulma örneğinde Count fonksiyonu kullanımı
Lesson_18.go:107
↓ 1 callers
Function
counter
(info chan bool, duration time.Duration)
Lesson_15.go:47
↓ 1 callers
Function
dir
bir klasör içeriğini gösterelim
Lesson_20.go:112
↓ 1 callers
Function
do_something
points bir slice ve referans türü
Lesson_07.go:48
↓ 1 callers
Function
dosya_ayristir
(dosya string)
Lesson_05.go:33
↓ 1 callers
Function
dosya_sifrele
(dosya string)
Lesson_05.go:20
↓ 1 callers
Function
dosyayi_kapat
(dosya string)
Lesson_05.go:27
↓ 1 callers
Function
fieldsFuncSample
*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 callers
Function
fieldsSample
fields fonksiyon örneği. Metinde geçen kelimelerden belli bir değerden uzun olanlarını listelemek
Lesson_18.go:96
↓ 1 callers
Function
getFileList
(pathName string)
Lesson_17.go:27
↓ 1 callers
Function
increase_Stock_By_Fifty
(stock *Stock)
Lesson_07.go:59
↓ 1 callers
Function
jobA
(msg chan string, sets string)
Lesson_14.go:35
↓ 1 callers
Function
jobB
(msg chan string, sets string)
Lesson_14.go:40
↓ 1 callers
Function
jobC
(msg chan string, sets string)
Lesson_14.go:45
↓ 1 callers
Function
loadPlayers
()
Web Programming/Lesson_24/server.go:40
↓ 1 callers
Function
loop2
()
Lesson_11.go:32
↓ 1 callers
Function
map_yazdir
(icerik map[string]string)
Lesson_04.go:77
↓ 1 callers
Function
microphone
(sound chan<- string, message string)
Lesson_12.go:83
↓ 1 callers
Function
readFile
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 callers
Function
readFileWithIO
Dosya içeriğini okuma örneği - 2
Lesson_20.go:75
↓ 1 callers
Function
soundBox
(sound <-chan string, volumeLevel int, duration int)
Lesson_12.go:80
↓ 1 callers
Method
startEngine
()
Lesson_10.go:40
↓ 1 callers
Function
worker
(completed chan bool)
Lesson_12.go:73
↓ 1 callers
Function
writeToFile
dosya oluşturma ve içerisine string içerik yazma örneği
Lesson_20.go:85
↓ 1 callers
Function
write_all_vehicle_to_console
(vehicles []Vehicle)
Lesson_08.go:52
↓ 1 callers
Method
write_with_space
word tipine(dolayısıyla string türüne) uygulayabileceğimiz bir metod
Lesson_08.go:74
Function
AddCard
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
Function
CircleSpace
export CircleSpace
Bonus/UseWithRuby/SomeMath.go:16
Function
GetCategories
(response http.ResponseWriter, request *http.Request, params httprouter.Params)
Web Programming/Lesson_26/Server.go:31
Function
GetCities
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
Function
GetModelsByCategoryName
(response http.ResponseWriter, request *http.Request, params httprouter.Params)
Web Programming/Lesson_26/Server.go:39
Function
GetPlanets
(response http.ResponseWriter, request *http.Request, params httprouter.Params)
Web Programming/Lesson_25/server.go:41
Function
Index
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
Function
TestBeego
TestBeego is a sample to run an endpoint test
Web Programming/Lesson_29/NewsRoom/tests/default_test.go:23
Function
TestCircleSpace
(t *testing.T)
Bonus/Testing/operations_test.go:7
Function
TestSum
(t *testing.T)
Bonus/Testing/operations_test.go:16
Function
Test_Greetings
(t *testing.T)
Web Programming/Lesson_30/index_test.go:14
Method
Wellcome
()
Web Programming/Lesson_29/NewsRoom/controllers/default.go:17
Function
createCategory
(w http.ResponseWriter, r *http.Request, _ httprouter.Params)
Web Programming/Lesson_27/server.go:29
Function
getCategories
(w http.ResponseWriter, r *http.Request, _ httprouter.Params)
Web Programming/Lesson_27/server.go:44
Function
getModelsByCategoryId
(w http.ResponseWriter, r *http.Request, params httprouter.Params)
Web Programming/Lesson_27/server.go:58
Function
getModelsByFirstLetter
(w http.ResponseWriter, r *http.Request, params httprouter.Params)
Web Programming/Lesson_27/server.go:79
Function
getPlayers
Bu sefer slice içerisindeki tüm üyeleri JSON formatında yolluyoruz.
Lesson_22.go:34
Function
getPlayers
(response http.ResponseWriter, request *http.Request)
Web Programming/Lesson_24/server.go:19
Function
getWebPageContent
(page string, fileName string)
Lesson_21.go:27
Function
home
(rWriter http.ResponseWriter, request *http.Request, _ httprouter.Params)
Web Programming/Lesson_27/server.go:95
Function
init
()
Web Programming/Lesson_29/NewsRoom/tests/default_test.go:15
Function
init
()
Web Programming/Lesson_29/NewsRoom/routers/router.go:9
Function
main
()
Lesson_12.go:14
Function
main
()
Lesson_21.go:14
Function
main
()
Lesson_06.go:11
Function
main
()
Lesson_20.go:15
Function
main
()
Lesson_18.go:17
Function
main
()
Lesson_07.go:11
Function
main
()
Lesson_03.go:18
Function
main
()
Lesson_19.go:11
Function
main
()
Lesson_13.go:9
Function
main
Uygulamanın giriş noktası her zaman main fonksiyonudur(entry point)
Lesson_01.go:21
Function
main
()
Lesson_14.go:11
Function
main
()
Lesson_11.go:14
Function
main
()
Lesson_16.go:13
Function
main
()
Lesson_17.go:11
Function
main
()
Lesson_10.go:12
Function
main
()
Lesson_09.go:12
Function
main
()
Lesson_08.go:12
Function
main
()
Lesson_05.go:12
next →
1–100 of 121, ranked by callers