VILLASweb-backend-go/common
smavros 6a9709f7b8 Improves LengthOfResponse() utility function:
Problems arise from the fact that the are two kind of successful
    responses: The array of objects response like
    {"key":[{obj1},{obj2},...]} and the single object response like
    {"key":{obj}}. The function will try to check if the response can be
    unmarshaled in an array of generic type variables so to match the
    first case. If not it will try to unmarshal to a single generic type
    variable and 1 will be returned as the length of the response. If
    this will also fail -1 will be returned.
2019-08-11 16:55:20 +02:00
..
amqpclient.go - remove ack of message in AMQP client 2019-07-18 10:35:02 +02:00
database.go revise widget testing 2019-07-25 13:25:46 +02:00
database_test.go renaming simulation to scenario 2019-07-18 14:35:20 +02:00
models.go Tags ID of Model as unique field 2019-08-10 22:41:43 +02:00
responses.go Modifies testdata setup: 2019-07-30 20:31:59 +02:00
roles.go renaming simulation to scenario 2019-07-18 14:35:20 +02:00
serializers.go revise widget testing 2019-07-25 13:25:46 +02:00
testdata.go Modifies testdata setup: 2019-07-30 20:31:59 +02:00
utilities.go Improves LengthOfResponse() utility function: 2019-08-11 16:55:20 +02:00