Code Monkey home page Code Monkey logo

gitalk's People

Contributors

lyc10031 avatar

Watchers

 avatar

gitalk's Issues

goroutine学习记录 - Ray_YC's Blog

https://lyc10031.github.io/2019/08/07/try-goroutine.html#runtime%E5%8C%85%E4%B8%AD%E6%9C%89%E5%87%A0%E4%B8%AA%E5%A4%84%E7%90%86goroutine%E7%9A%84%E5%87%BD%E6%95%B0

学习下goroutine的使用方法goroutine是Go并行设计的核心。goroutine说到底其实就是协程,但是它比线程更小,十几个goroutine可能体现在底层就是五六个线程,Go语言内部帮你实现了这些goroutine之间的内存共享。执行goroutine只需极少的栈内存 (大概是4~5KB) ,当然会...

为go程序编写测试用例 - Ray_YC's Blog

https://lyc10031.github.io/2019/08/23/go-test.html#%E5%8E%8B%E5%8A%9B%E6%B5%8B%E8%AF%95%E4%BB%A3%E7%A0%81-webbench_testgo

原文地址本文是我的一些总结和记录。Go 如何编写测试用例Go语言中自带有一个轻量级的测试框架testing,使用自带的go test命令来实现单元测试和性能测试。可以基于这个框架写针对相应函数的测试用例,也可以基于该框架写相应的压力测试用例。建议安装gotests插件自动生成测试代码 go get -u -v ...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.