Initial commit
Go CI / build (push) Failing after 2m42s

feat: create basic server to manage google oauth, account, sessions, places, attributes and ratings.
This commit is contained in:
2025-09-19 02:43:04 -07:00
commit f1909da1ad
26 changed files with 2619 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
package store
import "git.pengzhan.dev/noteplace-server/internal/models"
func (s *Store) CreateAttribute(attr models.Attribute) error {
s.Mu.Lock()
defer s.Mu.Unlock()
s.Data.Attributes[attr.ID] = attr
return s.save()
}