Skip to content

The power of Golang for the backend and React JS for the frontend.

License

Notifications You must be signed in to change notification settings

gil-son/golang-api-with-react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

golang-api-with-react

Pointers and Memory Allocation






package main
import "fmt"

func main() {
    var x int = 5 
    
    fmt.Println("x | address:",  &x)
    fmt.Println("x | value:", x)
    
	var p *int = &x 

	fmt.Println("p | address:", &p)
	fmt.Println("p | address -> x:", p)
    fmt.Println("p | value: -> x:",  *p)
}

About

The power of Golang for the backend and React JS for the frontend.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages