Create a web app using the Go language

Source: Internet
Author: User
Tags heroku toolbelt
This is a creation in Article, where the information may have evolved or changed.

Create a web app using the Go language

When you follow this tutorial to learn, you will encounter the following questions.

You need to know the following knowledge:

1.GNU

The GNU program, also known as the Slave program, is Richard Stallman was publicly launched on September 27, 1983. Its goal is to create a set of completely free operating systems.

GNU is the recursive abbreviation for "GNU is not Unix" . Stallman declared that the GNU should be pronounced as guh-noo to avoid confusion with the word new (note: GNU was originally intended to be an African wildebeest in English, with the same pronunciation as new). UNIX is the name of a widely used commercial operating system. Since GNU will implement the interface standards for UNIX systems, the GNU program can separately develop different operating system components. The GNU program uses parts of the software that were already freely available, such as the Tex typesetting system and the X Window Window System. But the GNU program has also developed a large number of other free software.

2.MINGW

MinGW, yes.Minimalist gnufor Windowsthe abbreviation. It is a free-to-use and free-to-publish Windows-specificHeader fileand using the GNU Toolset to import a collection of libraries that allow you toGnu/Linuxand theWindowsthe platform generates local Windows programs without the need for a third-party C runtime (c runtime) library. MinGW is a set of include files and port libraries that allow console mode programs to use Microsoft's standard C runtime (c runtime) library (MSVCRT. Dll), the library is valid on all NT OS, in allWindows 95the release version of Windows OS is valid, using the basic runtime, you can use the GCC write console mode in accordance with the U.S. standard Organization (ANSI) program, you can use the C runtime (c Runtime) extension provided by Microsoft, combined with the basic runtime, can have sufficient rights both to use the CRT (C Runtime) and to use WindowsApifunction.

3. Error during installation

Installation issues

When you import SQLite, the Golang build has the following error,

EXEC: "gcc": Executable file not found in%PATH%

The reason is that Sqlitle3 is a CGO library that requires GCC to compile C code
Then download and install TDM-GCC (WINDOSW version) download address: Http://tdm-gcc.tdragon.net/download

4. What is Heroku Toolbelt

heroku This is an established free cloud space , unlimited traffic and unlimited capacity, but it's much less popular than openshift space

Download Heroku Toolbelt

How to use Heroku toolbelt

5.golang using SQLite



Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.