Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(GODT-1757): Refactor code to have better data separation
Due to Go's lackluster import system we had to refactor certain types into separate packages so we can better control what each type has access to. All the database related code has been moved into the db package. All the remote user management code has been been moved into the remote package. Existing remote code has been erased. All things related to state and snapshot have been moved into the state package. To avoid cyclic imports, the state package declares two interfaces which provide access to some user specific data as well as a custom connector implementation on which metadata can be attached.
- Loading branch information