0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Go の第一印象が Cっぽくてなんか懐かしい、と思った。

Posted at

変数型

int int8, int16, int32, int64

uint uint8, uint16, uint32, uint64

符号無し8ビット整数
とか
で uint8 で byte の別名を表すところもCっぽい。
あれは確か Windows の MFC だったかな。

構造体

『構造体❣』と来ました。

C

struct Player {
	char* string;
	int age;
};
typedef struct Palyer;

Go

type Player struct {
	name string
	age int
}
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?