Skip to content

Commit

Permalink
Update index.md
Browse files Browse the repository at this point in the history
  • Loading branch information
joseph0x45 authored and codediodeio committed Sep 28, 2022
1 parent e90c0ee commit 97dc577
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hugo/content/lessons/learn-go-in-100-lines/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ func main() {
The short variable declaration makes our code neater, so we'll see it again throughout this lesson.

### Types
Go offers a rich collection of types, including numericas, booleans, strings, error, and the ability to create custom types. Strings are are a sequence of UTF-8 characters enclosed in double-quotes. Numerical types are the most versatile, with 8, 16, 32, and 64-bit variants for both signed (<code>int</code>) and unsigned (<code>uint</code>) integers.
Go offers a rich collection of types, including numericas, booleans, strings, error, and the ability to create custom types. Strings are a sequence of UTF-8 characters enclosed in double-quotes. Numerical types are the most versatile, with 8, 16, 32, and 64-bit variants for both signed (<code>int</code>) and unsigned (<code>uint</code>) integers.

A <code>byte</code> is an alias for <code>uint8</code>. A <code>rune</code> is an alias for <code>int32</code>. Floats (or floating-point numbers) are either <code>float32</code> or <code>float64</code>. Complex numbers are also supported and can be represented as <code>complex128</code> or <code>complex64</code>.

Expand Down Expand Up @@ -578,4 +578,4 @@ gopher 2 finished the dish
gopher 1 finished the dish
{{< /highlight >}}

If you've made it to the end, congratulations! Hopefully, you had a lot of fun along the way. If you'd like to see more, check out Go's official [tour](https://tour.golang.org/list) which gives you a concise overview of the language. If you enjoyed this article, consider becoming a pro member at [fireship.io](https://fireship.io/pro/) and stay tuned for more content.
If you've made it to the end, congratulations! Hopefully, you had a lot of fun along the way. If you'd like to see more, check out Go's official [tour](https://tour.golang.org/list) which gives you a concise overview of the language. If you enjoyed this article, consider becoming a pro member at [fireship.io](https://fireship.io/pro/) and stay tuned for more content.

0 comments on commit 97dc577

Please sign in to comment.