Skip to content
Sections
>> Trisquel >> 套件 >> aramo >> devel >> golang-github-abdullin-seq-dev
nabia  ] [  aramo  ]
[ 原始碼: golang-github-abdullin-seq  ]

套件: golang-github-abdullin-seq-dev (0.0~git20160510.d5467c1-3)

structural equality library

This package contains a structural equality library for Golang.

One can define expectations on objects (e.g. API responses or expected events) by creating an instance of seq.Map, which is provided by this package.

Maps can be nested or they could have flat paths. Values could be represented with strings, primitive types, instances of seq.Map or JSON-serializable objects.

Once the expectation exists, one could compare it with an actual object. If the actual object has some invalid or missing properties, the result will have nice error messages.

下載 golang-github-abdullin-seq-dev

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 4.9 kB23 kB [文件列表]