Skip to content

Instantly share code, notes, and snippets.

@arriqaaq
Created January 27, 2023 10:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save arriqaaq/66e98faf166cdd58af639478863136e3 to your computer and use it in GitHub Desktop.
Save arriqaaq/66e98faf166cdd58af639478863136e3 to your computer and use it in GitHub Desktop.
package main
import "fmt"
func main() {
s1 := "hello"
s2 := "hello"
fmt.Println(&s1 == &s2) // true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment