struct_method.go

Go上級

Explorer

C40
C++40
C#40
Dart40
Go
初級10
中級10
上級10
context_usage.go
type_assertion.go
error_handler.go
goroutine_channel.go
defer_usage.go
struct_method.go
interface_impl.go
slice_operations.go
map_check.go
select_statement.go
エキスパート5
マスター5
Java40
JavaScript40
Kotlin40
Objective-C40
Perl40
PHP40
Python40
R40
Ruby40
Rust40
Shell40
Swift40
TypeScript40
struct_method.go
Click to focus
1
2
3
4
5
type User struct {
   ID   int    `json:"id"`
   Name string `json:"name,omitempty"`
}
func (u *User) IsValid() bool { return u.ID > 0 }
0WPM0%0:000/136(0%)|Ln 1, Col 1
UTF-8Go

関連する練習問題