MockDeviceRepo
This commit is contained in:
		
							
								
								
									
										4
									
								
								go.mod
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								go.mod
									
									
									
									
									
								
							| @@ -7,6 +7,7 @@ require ( | |||||||
| 	github.com/golang-jwt/jwt/v5 v5.0.0 | 	github.com/golang-jwt/jwt/v5 v5.0.0 | ||||||
| 	github.com/gorilla/websocket v1.5.0 | 	github.com/gorilla/websocket v1.5.0 | ||||||
| 	github.com/panjf2000/ants/v2 v2.11.3 | 	github.com/panjf2000/ants/v2 v2.11.3 | ||||||
|  | 	github.com/stretchr/testify v1.10.0 | ||||||
| 	golang.org/x/crypto v0.17.0 | 	golang.org/x/crypto v0.17.0 | ||||||
| 	gopkg.in/yaml.v2 v2.4.0 | 	gopkg.in/yaml.v2 v2.4.0 | ||||||
| 	gorm.io/driver/postgres v1.5.9 | 	gorm.io/driver/postgres v1.5.9 | ||||||
| @@ -16,6 +17,7 @@ require ( | |||||||
| require ( | require ( | ||||||
| 	github.com/bytedance/sonic v1.9.1 // indirect | 	github.com/bytedance/sonic v1.9.1 // indirect | ||||||
| 	github.com/chenzhuoyu/base64x v0.0.0-20221115062448-fe3a3abad311 // indirect | 	github.com/chenzhuoyu/base64x v0.0.0-20221115062448-fe3a3abad311 // indirect | ||||||
|  | 	github.com/davecgh/go-spew v1.1.1 // indirect | ||||||
| 	github.com/gabriel-vasile/mimetype v1.4.2 // indirect | 	github.com/gabriel-vasile/mimetype v1.4.2 // indirect | ||||||
| 	github.com/gin-contrib/sse v0.1.0 // indirect | 	github.com/gin-contrib/sse v0.1.0 // indirect | ||||||
| 	github.com/go-playground/locales v0.14.1 // indirect | 	github.com/go-playground/locales v0.14.1 // indirect | ||||||
| @@ -36,7 +38,9 @@ require ( | |||||||
| 	github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect | 	github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect | ||||||
| 	github.com/modern-go/reflect2 v1.0.2 // indirect | 	github.com/modern-go/reflect2 v1.0.2 // indirect | ||||||
| 	github.com/pelletier/go-toml/v2 v2.0.8 // indirect | 	github.com/pelletier/go-toml/v2 v2.0.8 // indirect | ||||||
|  | 	github.com/pmezard/go-difflib v1.0.0 // indirect | ||||||
| 	github.com/rogpeppe/go-internal v1.14.1 // indirect | 	github.com/rogpeppe/go-internal v1.14.1 // indirect | ||||||
|  | 	github.com/stretchr/objx v0.5.2 // indirect | ||||||
| 	github.com/twitchyliquid64/golang-asm v0.15.1 // indirect | 	github.com/twitchyliquid64/golang-asm v0.15.1 // indirect | ||||||
| 	github.com/ugorji/go/codec v1.2.11 // indirect | 	github.com/ugorji/go/codec v1.2.11 // indirect | ||||||
| 	golang.org/x/arch v0.3.0 // indirect | 	golang.org/x/arch v0.3.0 // indirect | ||||||
|   | |||||||
							
								
								
									
										2
									
								
								go.sum
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								go.sum
									
									
									
									
									
								
							| @@ -73,6 +73,8 @@ github.com/rogpeppe/go-internal v1.14.1/go.mod h1:MaRKkUm5W0goXpeCfT7UZI6fk/L7L7 | |||||||
| github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= | github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= | ||||||
| github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw= | github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw= | ||||||
| github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo= | github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo= | ||||||
|  | github.com/stretchr/objx v0.5.2 h1:xuMeJ0Sdp5ZMRXx/aWO6RZxdr3beISkG5/G/aIRr3pY= | ||||||
|  | github.com/stretchr/objx v0.5.2/go.mod h1:FRsXN1f5AsAjCGJKqEizvkpNtU+EGNCLh3NxZ/8L+MA= | ||||||
| github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= | github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= | ||||||
| github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= | github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= | ||||||
| github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= | github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= | ||||||
|   | |||||||
							
								
								
									
										14
									
								
								vendor/modules.txt
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										14
									
								
								vendor/modules.txt
									
									
									
									
										vendored
									
									
								
							| @@ -24,6 +24,9 @@ github.com/bytedance/sonic/utf8 | |||||||
| # github.com/chenzhuoyu/base64x v0.0.0-20221115062448-fe3a3abad311 | # github.com/chenzhuoyu/base64x v0.0.0-20221115062448-fe3a3abad311 | ||||||
| ## explicit; go 1.15 | ## explicit; go 1.15 | ||||||
| github.com/chenzhuoyu/base64x | github.com/chenzhuoyu/base64x | ||||||
|  | # github.com/davecgh/go-spew v1.1.1 | ||||||
|  | ## explicit | ||||||
|  | github.com/davecgh/go-spew/spew | ||||||
| # github.com/gabriel-vasile/mimetype v1.4.2 | # github.com/gabriel-vasile/mimetype v1.4.2 | ||||||
| ## explicit; go 1.20 | ## explicit; go 1.20 | ||||||
| github.com/gabriel-vasile/mimetype | github.com/gabriel-vasile/mimetype | ||||||
| @@ -129,8 +132,19 @@ github.com/pelletier/go-toml/v2/internal/characters | |||||||
| github.com/pelletier/go-toml/v2/internal/danger | github.com/pelletier/go-toml/v2/internal/danger | ||||||
| github.com/pelletier/go-toml/v2/internal/tracker | github.com/pelletier/go-toml/v2/internal/tracker | ||||||
| github.com/pelletier/go-toml/v2/unstable | github.com/pelletier/go-toml/v2/unstable | ||||||
|  | # github.com/pmezard/go-difflib v1.0.0 | ||||||
|  | ## explicit | ||||||
|  | github.com/pmezard/go-difflib/difflib | ||||||
| # github.com/rogpeppe/go-internal v1.14.1 | # github.com/rogpeppe/go-internal v1.14.1 | ||||||
| ## explicit; go 1.23 | ## explicit; go 1.23 | ||||||
|  | # github.com/stretchr/objx v0.5.2 | ||||||
|  | ## explicit; go 1.20 | ||||||
|  | github.com/stretchr/objx | ||||||
|  | # github.com/stretchr/testify v1.10.0 | ||||||
|  | ## explicit; go 1.17 | ||||||
|  | github.com/stretchr/testify/assert | ||||||
|  | github.com/stretchr/testify/assert/yaml | ||||||
|  | github.com/stretchr/testify/mock | ||||||
| # github.com/twitchyliquid64/golang-asm v0.15.1 | # github.com/twitchyliquid64/golang-asm v0.15.1 | ||||||
| ## explicit; go 1.13 | ## explicit; go 1.13 | ||||||
| github.com/twitchyliquid64/golang-asm/asm/arch | github.com/twitchyliquid64/golang-asm/asm/arch | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user