---
title: "Discussion on \"Go lang conditionals, functions\" | Hashnode"
description: "Discussion on \"Go lang conditionals, functions\". Conditionals:\nif height > 6 {\n    fmt.Println(\"You are super tall!\")\n} else if height > 4 {\n    fmt.Println(\"You are tall enough!\")\n} else {\n    fmt.Println(\"You are not tall enough!\")\n}\n\nThe Initial Statement of an If Block :\nAn if conditional can h..."
url: "https://hashnode.com/posts/go-lang-conditionals-functions/6890a0278a0790c794bae07a"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Go lang conditionals, functions](https://go-lang.hashnode.dev/go-lang-conditionals-functions?utm_source=hashnode&utm_medium=feed)

Conditionals: if height > 6 { fmt.Println("You are super tall!") } else if height > 4 { fmt.Println("You are tall enough!") } else { fmt.Println("You are not tall enough!") } The Initial Statement of an If Block : An if conditional can h...

Aug 4, 2025 · 13 min read · go-lang.hashnode.dev  
Updated Aug 23, 2025  
Read the article

-   [#go-functions](https://hashnode.com/tag/go-functions)
-   [#golang](https://hashnode.com/tag/golang)
-   [#go](https://hashnode.com/tag/go)
-   [#go-cjffccfnf0024tjs1mcwab09t](https://hashnode.com/tag/go-cjffccfnf0024tjs1mcwab09t)
-   [#go-function-naming-conventions](https://hashnode.com/tag/go-function-naming-conventions)
-   [#go-programming-language](https://hashnode.com/tag/go-programming-language)
-   [#go-fundamentals](https://hashnode.com/tag/go-fundamentals)
-   [#functions-in-go](https://hashnode.com/tag/functions-in-go)

## Written by

[Rajesh Gurajala](https://hashnode.com/@rajesh6)

@rajesh6

  
[View profile](https://hashnode.com/@rajesh6)

DEVOPS RELATED

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
