Golang Tutorial
Introduction Variables Constants Data Type Convert Types Operators If..Else Switch..Case For Loops Functions Variadic Functions Deferred Functions Calls Panic and Recover Arrays Slices Maps Struct Interface Goroutines Channels Concurrency Problems Logs Files and Directories Reading and Writing Files Regular Expression Find DNS records Cryptography Gotchas in Golang Import and Export Best Golang Packages Web Application Goroutines and Channels Exercises Reflection in Golang Golang for beginners Strings in Golang HTTP Client Server Examples Context PackageGolang Reference
Basic Programs Advance Programs Data Structure and Algorithms Date and Time Slice Sort, Reverse, Search Functions String Functions Methods and Objects Interface TypeBeego Framework
Beego Setup Beego Database Migration Beego GET POST Beego RoutingGolang basic examples of Date and Time manipulation functions
8/26/2017 9:41 PM
Golang provides a number of built-in date time functions which help in performing several operations while dealing with date and time. Golang time package is a part of the core. There is no installation required to use this package only you need to import "time" package. A list of important Golang time examples are as follow:Read More
Posted in Golang tutorial for beginners and professionals provides deep knowledge of Go programming language.
By Golang Programs
Most Popular Golang Slice Sort, Reverse, Search Functions
8/15/2017 10:45 AM
Slice sorting or searching functions allow you to interact with and manipulate slice in various ways. Golang sort functions are the part of the core. There is no installation required to use this function only you need to import "sort" package.Read More
Tags:
Posted in Golang tutorial for beginners and professionals provides deep knowledge of Go programming language.
By Golang Programs
Most Popular Golang String Functions
8/7/2017 10:45 AM
Golang provides a number of built-in string functions which help in performing several operations while dealing with string data. Golang string functions are the part of the core. There is no installation required to use this function only you need to import "strings" package.Read More
Tags:
- golang-check-if-strings-are-equal
- golang-string-starts-with golang-substring
- golang-string-compare-ignore-case
- golang-string-not-equal
- golang-string-compare-example
- golang-string length
- golang-string-comparison-operators
- golang-remove-character-from-string
- golang-trimright
- golang-string-last-n-characters
- get-last-character-of-string go
- golang-get-first-character-of-string
- golang-string-last-rune
- golang-string-subscript
- golang-substring-example
Posted in Golang tutorial for beginners and professionals provides deep knowledge of Go programming language.
By Golang Programs
Design philosophy of Golang interface type
8/6/2017 2:51 PM
Implementing a Go interface is done implicitly. In Go, there is no need to explicitly implement an interface into a concrete type by specifying any keyword. To implement an interface into a concrete type, just provide the methods with the same signature that is defined in the interface typeRead More
Posted in Golang tutorial for beginners and professionals provides deep knowledge of Go programming language.
By Golang Programs
Methods and Objects
7/29/2017 5:59 PM
In object-oriented programming, an object is simply a value or variable that has methods, and a method is a function
associated with a particular type. An object-oriented program is one that uses methods to express the
properties and operations of each data structure, hence there is no need to access the object representation directly.Read More
Posted in Golang tutorial for beginners and professionals provides deep knowledge of Go programming language.
By Golang Programs
Most Helpful This Week
Get Year, Month, Day, Hour, Min and Second from current date and time.Simple function with return value in GolangEncoding and Decoding using json.Marshal and json.UnmarshalSubtract N number of Year, Month, Day, Hour, Minute, Second, Millisecond, Microsecond and Nanosecond to current date-time.Example: How to use ReadFull from IO Package in Golang?How to convert Boolean Type to String in Go?How to include and execute HTML template?Example: ReadAll, ReadDir, and ReadFile from IO PackageGet Hours, Days, Minutes and Seconds difference between two dates [Future and Past]How To Make an HTTP Server in Golang?
Golang Programs is designed to help beginner programmers who want to learn web development technologies, or start a career in website development. Tutorials, references, and examples are constantly reviewed to avoid errors, but we cannot warrant full correctness of all content.