!ydIAqzRPCpqoMWmoMi:matrix.org

Golang

1339 Members
The Go programming language158 Servers

Load older messages


SenderMessageTime
28 Jan 2023
@noob:kitvlad.online@noob:kitvlad.online left the room.10:34:06
@mger:yatrix.org@mger:yatrix.org joined the room.12:43:05
@mger:yatrix.org@mger:yatrix.org 12:43:45
@mger:yatrix.org@mger:yatrix.org left the room.12:49:01
@mikhail91:matrix.orgarchangel changed their display name from Zola Losonszky to archangel.18:00:12
29 Jan 2023
@frod01:matrix.orgfrod01 joined the room.03:44:01
@reiver:matrix.orgCHARLES ILIYA KREMPEAUX (@reiver) joined the room.07:27:12
@peltoche:halium.frPeltoche left the room.17:08:39
@compy:hazenet.org@compy:hazenet.org joined the room.19:12:06
@compy:hazenet.org@compy:hazenet.org left the room.19:12:33
30 Jan 2023
@arixey:matrix.org@arixey:matrix.org left the room.07:45:40
@trukhinyuri:matrix.orgtrukhinyuri set a profile picture.11:15:06
@nobushia:matrix.org@nobushia:matrix.org left the room.11:35:13
@vvdev:matrix.org@vvdev:matrix.org left the room.16:10:24
@godkalki:matrix.orgBASED joined the room.18:17:31
@m-yusuf:matrix.org@m-yusuf:matrix.org set a profile picture.21:28:12
@d34d8its:matrix.orgd34d8itsRedacted or Malformed Event23:26:51
31 Jan 2023
@psyfx:matrix.orgPsyfx joined the room.00:59:06
@m-yusuf:matrix.org@m-yusuf:matrix.org left the room.08:08:18
@xpufx:matrix.org@xpufx:matrix.orgRedacted or Malformed Event08:56:11
@xpufx:matrix.org@xpufx:matrix.org left the room.09:08:38
@panpiesek:matrix.orgSantino PomaraƄcza joined the room.22:30:06
1 Feb 2023
@godag:matrix.orgWeaselRedacted or Malformed Event10:48:21
@godag:matrix.orgWeasel *

Can anybody explain me, why fmt.Print / fmt.Printf / fmt.Println return me different pointer adresses ?

on simple variable all three work fine, but not on my initPerson() func

First Test with simple variable:
  fmt.Print   -> dummy variable -> 0xc00009e220
  fmt.Printf  -> dummy variable -> 0xc00009e220
  fmt.Println -> dummy variable -> 0xc00009e220

Second Test:
init person --> 0xc0000aa018
  fmt.Printf  -> Main -> 0xc0000aa018

Why? -----------------
  fmt.Print   -> Main -> 0xc0000ac020     **<- Why?**
  fmt.Println -> Main -> 0xc0000ac020    **<- Why?**

here u find an simple playground for it
https://go.dev/play/p/yufGOjK-x8_w

10:48:41
@godag:matrix.orgWeasel *

Can anybody explain me, why fmt.Print / fmt.Printf / fmt.Println return me different pointer adresses ?

on simple variable all three work fine, but not on my initPerson() func

First Test with simple variable:
  fmt.Print   -> dummy variable -> 0xc00009e220
  fmt.Printf  -> dummy variable -> 0xc00009e220
  fmt.Println -> dummy variable -> 0xc00009e220

Second Test:
init person --> 0xc0000aa018
  fmt.Printf  -> Main -> 0xc0000aa018

Why? -----------------
  fmt.Print   -> Main -> 0xc0000ac020     <- Why?
  fmt.Println -> Main -> 0xc0000ac020    <- Why?

here u find an simple playground for it
https://go.dev/play/p/yufGOjK-x8_w

10:49:12
@biehdc:reactos.orgHyperbased in HyperspaceRedacted or Malformed Event10:55:44
@peltoche:halium.frPeltoche joined the room.18:05:51
@enkodr:matrix.orgenkodr joined the room.18:37:35
@wiezyr:matrix.orgwiezyr joined the room.19:39:22
2 Feb 2023
@wkc:matrix.orgwkc joined the room.12:38:41

There are no newer messages yet.


Back to Room List