Skip to content
Courses
DSA to Development
Get IBM Certification
Newly Launched!
Master Django Framework
Become AWS Certified
For Working Professionals
Interview 101: DSA & System Design
Data Science Training Program
JAVA Backend Development (Live)
DevOps Engineering (LIVE)
Data Structures & Algorithms in Python
For Students
Placement Preparation Course
Data Science (Live)
Data Structure & Algorithm-Self Paced (C++/JAVA)
Master Competitive Programming (Live)
Full Stack Development with React & Node JS (Live)
Full Stack Development
Data Science Program
All Courses
Tutorials
Data Structures & Algorithms
ML & Data Science
Interview Corner
Programming Languages
Web Development
CS Subjects
DevOps And Linux
School Learning
Practice
Build your AI Agent
GfG 160
Problem of the Day
Practice Coding Problems
GfG SDE Sheet
Contests
Accenture Hackathon (Ending Soon!)
GfG Weekly [Rated Contest]
Job-A-Thon Hiring Challenge
All Contests and Events
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
SQL
Web Development
System Design
Aptitude
GfG Premium
Sign In
▲
Similar Topics
Web Technologies
38.9k+ articles
DSA
22.5k+ articles
Python
20.5k+ articles
Experiences
16.5k+ articles
Interview Experiences
14.1k+ articles
JavaScript
11.7k+ articles
Go Language
770+ articles
Golang
150+ articles
Golang-Program
62 articles
Golang-Arrays
10 articles
Go-Functions
12 posts
Popular Articles
Recent Articles
Recursive Anonymous Function in Golang
Last Updated: 10 July 2020
Recursion is a process in which a function calls itself implicitly or explicitly and the corresponding function is called recursive function
...read more
Picked
Go Language
Go-Functions
Golang program that uses func with variable argument list
Last Updated: 29 February 2024
In Golang, a function that can be called with a variable argument list is known as a variadic function. One can pass zero or more arguments
...read more
Picked
Go Language
Go-Functions
Golang-Program
Golang program that uses func with two arguments
Last Updated: 10 May 2020
Functions may use certain parameters to receive values and perform the task required accordingly. The syntax for a function with two argumen
...read more
Picked
Go Language
Go-Functions
Similar Topics
Web Technologies
38.9k+ articles
DSA
22.5k+ articles
Python
20.5k+ articles
Experiences
16.5k+ articles
Interview Experiences
14.1k+ articles
JavaScript
11.7k+ articles
Go Language
770+ articles
Golang
150+ articles
Golang-Program
62+ articles
Golang-Arrays
10+ articles
How to pass an Array to a Function in Golang?
Last Updated: 25 October 2024
In Go, arrays are used to store a fixed-length collection of data of the same type. To manage this data effectively, you may often need to p
...read more
Go Language
Go-Functions
Golang
Golang-Arrays
Methods With Same Name in Golang
Last Updated: 26 August 2019
In Go language, it is allowed to create two or more methods with the same name in the same package, but the receiver of these methods must b
...read more
Go Language
Go-Functions
Golang
Methods in Golang
Last Updated: 25 October 2024
Go methods are like functions but with a key difference: they have a receiver argument, which allows access to the receiver's properties. Th
...read more
Go Language
Go-Functions
Golang
Function as a Field in Golang Structure
Last Updated: 06 November 2024
In Go, you can define functions as fields within a structure (struct). This feature allows you to associate behaviors (methods) directly wit
...read more
Go Language
Go-Functions
Golang
Function Arguments in Golang
Last Updated: 29 October 2024
In Golang, functions are groups of statements used to perform tasks, with optional returns. Go supports two main ways to pass arguments: Pas
...read more
Go Language
Go-Functions
Golang
Anonymous function in Go Language
Last Updated: 29 October 2024
An anonymous function is a function that doesn’t have a name. It is useful when you want to create an inline function. In Go, an anonymous
...read more
Go Language
Go-Functions
Golang
Variadic Functions in Go
Last Updated: 25 October 2024
Variadic functions in Go allow you to pass a variable number of arguments to a function. This feature is useful when you don’t know before
...read more
Go Language
Go-Functions
Golang
Function Returning Multiple Values in Go Language
Last Updated: 01 August 2019
In Go language, you are allowed to return multiple values from a function, using the return statement. Or in other words, in function, a sin
...read more
Go Language
Go-Functions
Golang
Functions in Go Language
Last Updated: 05 November 2024
In Go, functions are blocks of code that perform specific tasks, which can be reused throughout the program to save memory, improve readabil
...read more
Go Language
Go-Functions
Golang
1
1
1
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our
Cookie Policy
&
Privacy Policy
Got It !