struct_method.go

Go고급

탐색기

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

관련 연습 문제