VOOZH about

URL: https://www.geeksforgeeks.org/go-language/go-keywords/

⇱ Go Keywords - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

Go Keywords

Last Updated : 3 Feb, 2020
Keywords or Reserved words are the words in a language that are used for some internal process or represent some predefined actions. These words are therefore not allowed to use as an identifier. Doing this will result in a compile-time error. Example: Output:
GeeksforGeeks
There are total 25 keywords present in the Go language as follows:
break
case
chan
const
continue
default
defer
else
fallthrough
for
func
go
goto
if
import
interface
map
package
range
return
select
struct
switch
type
var
Example: Output:
Portal name: GeeksforGeeks
Language name: Go Language
Chapter name: Keywords
Comment
Article Tags:

Explore