mirror of
https://github.com/EchoVault/SugarDB.git
synced 2025-10-13 19:55:14 +08:00
Created writer mock.
Created mock server. Added test for ping command plugin.
This commit is contained in:
@@ -39,8 +39,8 @@ func (server *Server) Lock() {
|
||||
server.data.mu.Lock()
|
||||
}
|
||||
|
||||
func (Server *Server) Unlock() {
|
||||
Server.data.mu.Unlock()
|
||||
func (server *Server) Unlock() {
|
||||
server.data.mu.Unlock()
|
||||
}
|
||||
|
||||
func (server *Server) GetData(key string) interface{} {
|
||||
|
Reference in New Issue
Block a user