Building a central Go modules repository: GoCenter’s back to the future
Building a central Go modules repository: GoCenter’s back to the future. @jfrog @ankushchadha111 GopherCon 2019 Lightning Talk Ankush Chadha About me • Dev Manager, Community & Partner Engineering0 码力 | 19 页 | 9.22 MB | 1 年前3Build web application with Golang
Introduction 5 Introduction 6 1 Go Environment Configuration Welcome to the world of Go, let's start exploring! Go is a fast-compiled, garbage-collected, concurrent systems programming language environment variables after the installation has completed.( Everything that looks like this means it's commented by a translator: If you are using 64-bit Windows, you should install the 64-bit version of systems. Going all the way to the end by clicking "next", ~/go/bin will be added to your system's $PATH after you finish the installation. Now open the terminal and type go . You should see the same0 码力 | 327 页 | 1.63 MB | 1 年前3Go 101 (Golang 101) v1.21.0
kindly answered my countless boring questions on go-nuts group and the Go project issue tracker. Ian's answers helped me clear many of my ever confusions in using Go. I want to give thanks to the following picture used in the covers of the digital and paper versions of this book is copied from one of from Rob's slides . Renee is the author of the lovely gopher iconic mascots used in the picture. (The Go 101 garbage collection GC). The Go design team also maintains a second Go compiler, gccgo. Nowadays it's use is less popular than gc, but it always serves as a reference, and both compilers are in active development0 码力 | 610 页 | 945.17 KB | 1 年前3Go 101 (Golang 101) v1.21.0
kindly answered my countless boring questions on go-nuts group and the Go project issue tracker. Ian's answers helped me clear many of my ever confusions in using Go. I want to give thanks to the following picture used in the covers of the digital and paper versions of this book is copied from one of from Rob's slides ? . Renee is the author of the lovely gopher iconic mascots used in the picture. (The Go 101 garbage collection GC). The Go design team also maintains a second Go compiler, gccgo. Nowadays it's use is less popular than gc, but it always serves as a reference, and both compilers are in active0 码力 | 880 页 | 833.34 KB | 1 年前3Go 101 (Golang 101) v1.21.0
kindly answered my countless boring questions on go-nuts group and the Go project issue tracker. Ian's answers helped me clear many of my ever confusions in using Go. I want to give thanks to the following picture used in the covers of the digital and paper versions of this book is copied from one of from Rob's slides ? . Renee is the author of the lovely gopher iconic mascots used in the picture. (The Go 101 garbage collection GC). The Go design team also maintains a second Go compiler, gccgo. Nowadays it's use is less popular than gc, but it always serves as a reference, and both compilers are in active0 码力 | 630 页 | 3.77 MB | 1 年前3The Way To Go - 2012
........................................................................27 Chapter 3—Editors, IDE’s and Other tools.........................................................................28 3.1 Basic .........................................................................................41 3.8 Go’s performance ....................................................................................... ............................................................263 11.2 Interface embedding interface(s) ..........................................................................270 11.3 How to detect and0 码力 | 629 页 | 4.85 MB | 1 年前3Building API server-side architecture for Beginners
ex. “Adopt clean architecture!” - Architecture questions - What’s clean architecture? How to apply Dependency Inversion Principle in Go? What should we write in use case layer? How to use interface ex. “Adopt clean architecture!” - Architecture questions - What’s clean architecture? How to apply Dependency Inversion Principle in Go? What should we write in use case layer? How to use interface ex. “Adopt Clean Architecture!” - Architecture Questions - What’s clean architecture? How to apply Dependency Inversion Principle in Go? What we should write in use case layer? When it gets worst0 码力 | 38 页 | 690.29 KB | 1 年前3GoFrame框架介绍及设计
终极目标也是为了保证软件开发维护的效率和质量。 模块化设计-复用原则 REP 发布等同原则 (Release/Reuse Equivalency Principle) 软件复用的最小粒度应等同于其发布的最小粒度。 CCP 共同闭包原则 (Common Closure Principle) 为了相同目的而同时修改的类,应该放在同一个模块中。 对大部分应用程序而言,可维护性的重要性远远大于可复 用性,由同一个原因引起的代码修改,最好在同一个模块 用性,由同一个原因引起的代码修改,最好在同一个模块 中,如果分散在多个模块中,那么开发、提交、部署的成 本都会上升。 CRP 共同复用原则 (Common Reuse Principle) 不要强迫一个模块依赖它不需要的东西。 模块复用原则竞争关系张力图 模块化设计-单仓包设计 痛点: • 实现相同功能逻辑的模块百花齐放,选择成本过高 • 项目依赖的模块过多,项目整体的稳定性会受到影响 • Controller和Model的职责边界模糊,对于开发人员写好代码的 要求会比较高 经典MVC模式 代码分层设计-三层架构模式 表示层 - UI 位于三层构架的最上层,与用户直接接触,主要是B/S中 的 WEB页面,也可以是API接口。 业务逻辑层 - BLL 对具体问题进行逻辑判断与执行操作。 数据访问层 - DAL 实现数据的增删改查等操作,并将操作结果反馈到业务逻辑层 BLL。0 码力 | 37 页 | 8.84 MB | 1 年前3Golang Manual By AstaXie-20120522
about installing gccgo, see Setting up and using gccgo. Download the Go tools Visit the Go project's downloads page and select the binary distribution that matches your operating system and processor architecture go hello, world If you see the "hello, world" message then your Go installation is working. What's next Start by taking A Tour of Go. For more detail about the process of building and testing Go programs Tutorial. Read Effective Go to learn about writing idiomatic Go code. For the full story, consult Go's extensive documentation. Subscribe to the golang-announce mailing list to be notified when a new stable0 码力 | 6205 页 | 12.83 MB | 1 年前32.1.4 The Zen of Go
Don’t pay for what you don’t use Java, Ruby, Smalltalk Everything is an object What are a Gopher’s values? The Zen of PythonGo Beautiful is better than ugly. Explicit is better than implicit. Simple implementation is hard to explain, it's a bad idea. If the implementation is easy to explain, it may be a good idea. Namespaces are one honking great idea -- let's do more of those! –Tim Peters, PEP-20 PEP-20 “Namespaces are one honking great idea–let’s do more of those!” Each package should have a single purpose –Sandi Metz “Design is the art of arranging code to work today, and be changeable0 码力 | 73 页 | 13.96 MB | 1 年前3
共 102 条
- 1
- 2
- 3
- 4
- 5
- 6
- 11