Comments (3)
因为只有测试的时候会用到 gop,所以就放到 got 里了,确实可以独立出去,它没有什么依赖
from got.
你在非测试代码里也会用到 gop 吗?
from got.
你在非测试代码里也会用到 gop 吗?
不会。其实一般都是 debug 的时候才会需要个比较好的 pretty print,单元测试写好存档时通常会精简成只返回结果的形式, pretty print 反而会 flood 控制台输出。
另外既然作者还在,想顺便问问有没有能与标准库 logger 结合的方法? 如果可以的话就能当成 error dump 来用了,现在只能在控制台中找字段还是比较局限的,好看大于实用意义
from got.
Related Issues (14)
- Use html to report value diff
- Add vscode quick testing commands
- How to use got with testify suite
- Compare gop with litter
- You'd better specify the minimum version it depends on HOT 1
- Improve the words sequence for lines HOT 11
- Implement histogram or patience diff algorithm
- Bug report: diff formating of string will check the text including text generated by gop format(like style text and comment), and it will appear incorrectly. HOT 8
- Compare got with other libs
- Mock code generation cli tool
- Basic usage of got
- tokenize panics when comparing array with Gt() HOT 1
- A case of gop crash HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from got.