Closed lukashes closed 8 years ago
Pointers of basic types is very useful feature for patching resources
PATCH example.com/user/1?is_active=true
// After binding saved only IsActive field into DB type UserForm struct { IsActive *bool `form:"is_active"` OtherStuff *string `form:"other_stuff"` }
Makes sense. Thanks!
Pointers of basic types is very useful feature for patching resources
PATCH example.com/user/1?is_active=true