Skip to content
Snippets Groups Projects

"Overhaul Architecture"

Merged Ghost User requested to merge 67-overhaul-architecture into develop
1 file
+ 0
5
Compare changes
  • Side-by-side
  • Inline
@@ -119,11 +119,6 @@ func (pnd *pndImplementation) removeDevice(uuid uuid.UUID) error {
@@ -119,11 +119,6 @@ func (pnd *pndImplementation) removeDevice(uuid uuid.UUID) error {
return nil
return nil
}
}
func (pnd *pndImplementation) getDevice(uuid uuid.UUID) (*Device, bool) {
device, exists := pnd.devices[uuid]
return device, exists
}
func (pnd *pndImplementation) MarshalDevice(uuid uuid.UUID) (string, error) {
func (pnd *pndImplementation) MarshalDevice(uuid uuid.UUID) (string, error) {
d := pnd.devices[uuid]
d := pnd.devices[uuid]
json, err := json.MarshalIndent(d.GoStruct, "", "\t")
json, err := json.MarshalIndent(d.GoStruct, "", "\t")
Loading