StoryCode

'전체 글'에 해당되는 글 570건

  1. font awesome with bootstrapcdn
  2. 설치
  3. Serverless Architecture

font awesome with bootstrapcdn

Web Dev, HTML, CSS, SVG, BootStrap/Tool
반응형

1) https://www.bootstrapcdn.com/fontawesome/





2) https://fontawesome.com/v4.7.0/icons/



반응형

설치

Serverless/BasS.Go
반응형

1. http://www.golang.org


시작메뉴 > Go Programming Language > GoDocServer 가 설치됨.


godocserver = http://localhost:6060



버전보기 >

CMD> go version

CMD> go run main.go // 실행

CMD> go build main.go // 실행파일 생성




Install the Go tools

If you are upgrading from an older version of Go you must first remove the existing version.

Windows

MSI installer

Open the MSI file and follow the prompts to install the Go tools. By default, the installer puts the Go distribution in c:\Go.

The installer should put the c:\Go\bin directory in your PATH environment variable. You may need to restart any open command prompts for the change to take effect.

Setting environment variables under Windows

Under Windows, you may set environment variables through the "Environment Variables" button on the "Advanced" tab of the "System" control panel. Some versions of Windows provide this control panel through the "Advanced System Settings" option inside the "System" control panel.

Test your installation

Check that Go is installed correctly by setting up a workspace and building a simple program, as follows.

Create your workspace directory, %USERPROFILE%\go. (If you'd like to use a different directory, you will need to set the GOPATH environment variable.)

Next, make the directory src/hello inside your workspace, and in that directory create a file named hello.go that looks like:

package main

import "fmt"

func main() {
	fmt.Printf("hello, world\n")
}

Then build it with the go tool:

C:\> cd %USERPROFILE%\go\src\hello
C:\Users\Gopher\go\src\hello> go build

The command above will build an executable named hello.exe in the directory alongside your source code. Execute it to see the greeting:

C:\Users\Gopher\go\src\hello> hello
hello, world

If you see the "hello, world" message then your Go installation is working.

You can run go install to install the binary into your workspace's bin directory or go clean -i to remove it.

Before rushing off to write Go code please read the How to Write Go Code document, which describes some essential concepts about using the Go tools.

Uninstalling Go

To remove an existing Go installation from your system delete the go directory. This is usually /usr/local/go under Linux, macOS, and FreeBSD or c:\Go under Windows.

You should also remove the Go bin directory from your PATH environment variable. Under Linux and FreeBSD you should edit /etc/profile or $HOME/.profile. If you installed Go with the macOS package then you should remove the /etc/paths.d/go file. Windows users should read the section about setting environment variables under Windows.

Getting help

For help, see the list of Go mailing lists, forums, and places to chat.

Report bugs either by running “go bug”, or manually at the Go issue tracker.



반응형

Serverless Architecture

IT 용어, 인터넷 활용 등등
반응형

[ 참고 자료 ] https://velopert.com/3543


- 서버가 없다는 뜻은 아님. 그렇다고 가상 머신도 아님.


- 굳이 언급하자면, 구글클라우드나 아마존클라우드에 코드를 실행한다.

  달리 서버가 필요한 것도 아님.


- BasS 와 FaaS 가 서버리스임.

  BasS = Backend as a Service = Firebase, Kinvey

  FaaS = Function as a Service = AWS Lambda, Azure Functions, Google Cloud Functions


- 추세

자체 전산실 =>

IaaS (Infrastructure as a Service) : 가상화=>

PaaS(Platform as a Service) : Application 배포 =>

Serverless(BaaS, Faas)

반응형

'IT 용어, 인터넷 활용 등등' 카테고리의 다른 글

CI, DI  (0) 2020.04.20
ab (apache bench) 테스트  (0) 2020.03.26
Javascript.Hoisting  (0) 2020.02.08
whois.com 에서 whois.co.kr 로 이전하기  (0) 2019.07.01
Manage, Unmanaged, Native, JIT  (0) 2018.12.02