7 Commits

Author SHA1 Message Date
Adrian Zürcher
a8127cc381 add new response function 2025-04-26 23:58:47 +02:00
Adrian Zürcher
8615d8c3d5 change modulename 2025-04-26 23:50:18 +02:00
Adrian Zürcher
6c327cf284 change modulename 2025-04-26 23:42:02 +02:00
Adrian Zürcher
40648c5fd8 change modulename 2025-04-26 23:38:45 +02:00
Adrian Zürcher
1b035e710f change modulename 2025-04-26 23:38:01 +02:00
Adrian Zürcher
93f2188cc8 change modulename 2025-04-26 23:36:06 +02:00
zuadi
862d865338 Update README.md 2025-04-26 23:22:59 +02:00
5 changed files with 9 additions and 5 deletions

View File

@@ -1,2 +1,2 @@
# tecamino-dbm-models
# tecamino-json data models
Database Manager Models

2
go.mod
View File

@@ -1,4 +1,4 @@
module github.com/tecamino/tecamino-dbm-json_data
module github.com/tecamino/tecamino-json_data
go 1.21.0

View File

@@ -3,7 +3,7 @@ package models
import (
"fmt"
"github.com/tecamino/tecamino-dbm-json_data/utils"
"github.com/tecamino/tecamino-json_data/utils"
)
const (

View File

@@ -1,6 +1,6 @@
package tecaminodbmjson_data
import "github.com/tecamino/tecamino-dbm-json_data/models"
import "github.com/tecamino/tecamino-json_data/models"
func NewRequest() *models.Request {
return &models.Request{}

View File

@@ -3,9 +3,13 @@ package tecaminodbmjson_data
import (
"encoding/json"
"github.com/tecamino/tecamino-dbm-json_data/models"
"github.com/tecamino/tecamino-json_data/models"
)
func NewResponse() *models.Response {
return &models.Response{}
}
func ParseResponse(b []byte) (*models.Response, error) {
r := models.Response{}