<?xml version="1.0" encoding="UTF-8" ?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
	<channel>
		<title>go언어</title>
		<link>https://forum.falinux.com/zbxe/goLang</link>
		<description>FALiNUX 포럼-강좌와 팁</description>
		<atom:link href="https://forum.falinux.com/zbxe/goLang/rss" rel="self" type="application/rss+xml" />
		<language>ko</language>
		<pubDate>Fri, 23 Oct 2026 12:12:57 +0000</pubDate>
		<generator>Rhymix</generator>
	<copyright>모든 저작권은 각 글을 작성하신 분께 있습니다.</copyright>	<image>
			<url>https://forum.falinux.com/zbxe/./files/attach/images/rss/ff_main_title.png</url>
			<title>FalinuxForum-RSS</title>
			<link>https://forum.falinux.com/zbxe/</link>
		</image>	<item>
			<title>바람직한 Go - 인터페이스와 그 외 다른 유형들 (1)</title>
			<link>https://forum.falinux.com/zbxe/goLang/885005</link>
				<description>이 글은 Effective Go를 일부 번역한 글입니다. 인터페이스와 그 외 다른 유형들 인터페이스 Go의 인터페이스가 객체의 행동을 지정하는 방법은 이렇다. 무언가가 ‘이걸’ 할 수 있으면 ‘여기’에 쓸 수 있다. 우린 이미 여러 간단한 예제를 보았다. String 메서드로 자작 프린터를 만들 수 있었고, Write 메서드로 Fprintf가 출력할 수 있었다. Go 코드에선 메서드 두어 개만으로 인터페이스를 구성하는 게 일반적이다. 그리고 보통...</description>
		<category>go언어</category>					<dc:creator>김태훈</dc:creator>
			<guid isPermaLink="true">https://forum.falinux.com/zbxe/goLang/885005</guid>
	<comments>https://forum.falinux.com/zbxe/goLang/885005#comment</comments>			<pubDate>Tue, 31 May 2016 13:45:13 +0000</pubDate>
		</item><item>
			<title>바람직한 Go - 메서드</title>
			<link>https://forum.falinux.com/zbxe/goLang/883323</link>
				<description>이 글은 Effective Go를 일부 번역한 글입니다. 메서드 포인터 vs. 값 ByteSize에서 봤듯이 이름 지은 유형(Named Type)이라면 아무 유형이나 (포인터나 인터페이스는 예외) 메서드를 정의할 수 있다. 수신자가 구조체일 필요는 없다. 전에 조각을 이야기할 때 Append 함수를 작성했다. 이 함수를 조각의 메서드로 대신 정의할 수 있다. 그러려면 우선 메서드를 연결할 이름 지은 유형을 선언하고, 메서드의 수신자를 해당 유형 값...</description>
		<category>go언어</category>					<dc:creator>김태훈</dc:creator>
			<guid isPermaLink="true">https://forum.falinux.com/zbxe/goLang/883323</guid>
	<comments>https://forum.falinux.com/zbxe/goLang/883323#comment</comments>			<pubDate>Tue, 10 May 2016 12:15:23 +0000</pubDate>
		</item><item>
			<title>바람직한 Go - 초기화 (2)</title>
			<link>https://forum.falinux.com/zbxe/goLang/882423</link>
				<description>이 글은 Effective Go를 일부 번역한 글입니다. 초기화 C나 C++과는 겉보기에 크게 다르지 않음에도 Go의 초기화는 더 강력하다. 초기화 중에 복잡한 구조체를 구성할 수 있고 객체나 서로 다른 패키지를 초기화하는 순서 문제도 바르게 다뤄진다. init 함수 마지막으로 각 소스 파일에 무항(Niladic) 함수 init을 정의해 필요한 상태를 설정할 수 있다. (그리고 각 파일에 여러 init 함수를 넣을 수 있다.) 그리고 마지막이란 말은...</description>
		<category>go언어</category>					<dc:creator>김태훈</dc:creator>
			<guid isPermaLink="true">https://forum.falinux.com/zbxe/goLang/882423</guid>
	<comments>https://forum.falinux.com/zbxe/goLang/882423#comment</comments>			<pubDate>Tue, 03 May 2016 10:05:41 +0000</pubDate>
		</item><item>
			<title>바람직한 Go - 초기화 (1)</title>
			<link>https://forum.falinux.com/zbxe/goLang/881793</link>
				<description>이 글은 Effective Go를 일부 번역한 글입니다. 초기화 C나 C++과는 겉보기에 크게 다르지 않음에도 Go의 초기화는 더 강력하다. 초기화 중에 복잡한 구조체를 구성할 수 있고 객체나 서로 다른 패키지를 초기화하는 순서 문제도 바르게 다뤄진다. 상수 Go의 상수는 말 그대로 상수다. 상수는 컴파일 시간에 생성되며, 심지어 함수 안에 정의해도 그렇다. 또한 오직 숫자, 문자(룬), 문자열, 논리 자료형만 가능하다. 컴파일 시간 ...</description>
		<category>go언어</category>					<dc:creator>김태훈</dc:creator>
			<guid isPermaLink="true">https://forum.falinux.com/zbxe/goLang/881793</guid>
	<comments>https://forum.falinux.com/zbxe/goLang/881793#comment</comments>			<pubDate>Tue, 26 Apr 2016 09:44:29 +0000</pubDate>
		</item><item>
			<title>바람직한 Go - 자료 (7)</title>
			<link>https://forum.falinux.com/zbxe/goLang/881421</link>
				<description>이 글은 Effective Go를 일부 번역한 글입니다. 자료 Append 이제 내장 함수 append의 설계를 설명하는 데 모자랐던 조각을 갖췄다. append의 용법은 이전에 만든 Append 함수와 다르다. 형태는 이렇다. func append(slice []T, elements ...T) []T 여기서 T는 주어진 유형을 대신한다. 실제 Go에선 호출자가 T 형을 정의하도록 함수를 작성할 수 없다. 그래서 append가 내장 함수인 것이다. 컴파일러가 도와줘야 하기 때문이다. ap...</description>
		<category>go언어</category>					<dc:creator>김태훈</dc:creator>
			<guid isPermaLink="true">https://forum.falinux.com/zbxe/goLang/881421</guid>
	<comments>https://forum.falinux.com/zbxe/goLang/881421#comment</comments>			<pubDate>Tue, 19 Apr 2016 10:05:49 +0000</pubDate>
		</item><item>
			<title>바람직한 Go - 자료 (6)</title>
			<link>https://forum.falinux.com/zbxe/goLang/881069</link>
				<description>이 글은 Effective Go를 일부 번역한 글입니다. 자료 출력 Go의 형식 출력은 C의 printf 계열과 비슷한 방식이지만 더 다채롭고 더 범용적이다. 함수는 fmt 패키지에 있고 대문자 이름이다. fmt.Printf, fmt.Fprintf, fmt.Sprintf 등등이 있다. 문자열 함수(Sprintf 등등)는 주어진 버퍼를 채우는 대신 문자열을 반환한다. 형식 문자열을 넣지 않아도 된다. Printf, Fprintf, Sprintf 등 함수 각각엔 다른 함수 짝이 있다. Print와 ...</description>
		<category>go언어</category>					<dc:creator>김태훈</dc:creator>
			<guid isPermaLink="true">https://forum.falinux.com/zbxe/goLang/881069</guid>
	<comments>https://forum.falinux.com/zbxe/goLang/881069#comment</comments>			<pubDate>Tue, 12 Apr 2016 11:10:10 +0000</pubDate>
		</item><item>
			<title>바람직한 Go - 자료 (5)</title>
			<link>https://forum.falinux.com/zbxe/goLang/879437</link>
				<description>이 글은 Effective Go를 일부 번역한 글입니다. 자료 맵 맵은 편리하고 강력한 내장 자료 구조로, 한 유형의 값(열쇠)을 다른 유형의 값(요소, 값)에 연결한다. 열쇠는 상등 연산자를 정의한 어떤 유형이든 가능하다. 즉, 정수, 실수, 복소수, 문자열, 포인터, 인터페이스(동적 유형이 상등성을 지원해야 한다), 구조체, 배열 등이 가능하다. 조각은 맵 열쇠로 사용할 수 없다. 상등성을 정의하지 않았기 때문이다. 맵도 조각처럼 ...</description>
		<category>go언어</category>					<dc:creator>김태훈</dc:creator>
			<guid isPermaLink="true">https://forum.falinux.com/zbxe/goLang/879437</guid>
	<comments>https://forum.falinux.com/zbxe/goLang/879437#comment</comments>			<pubDate>Tue, 15 Mar 2016 09:42:59 +0000</pubDate>
		</item><item>
			<title>바람직한 Go - 자료 (4)</title>
			<link>https://forum.falinux.com/zbxe/goLang/879096</link>
				<description>이 글은 Effective Go를 일부 번역한 글입니다. 자료 배열 배열은 메모리 형태를 자세히 설계하기에 좋고 가끔은 할당을 피하는 데 쓸 수도 있지만, 주로 다음 절의 주제인 조각의 구성 요소로 사용한다. 조각을 다루기 전에 배열을 조금 다루겠다. Go와 C는 배열 작동 방법에 큰 차이가 있다. Go에서 배열은 값이다. 배열을 다른 배열에 할당하면 모든 요소를 복사한다. 특히, 함수에 배열을 넘기면 배열을 가리키는 포인터가 아니...</description>
		<category>go언어</category>					<dc:creator>김태훈</dc:creator>
			<guid isPermaLink="true">https://forum.falinux.com/zbxe/goLang/879096</guid>
	<comments>https://forum.falinux.com/zbxe/goLang/879096#comment</comments>			<pubDate>Tue, 08 Mar 2016 14:29:20 +0000</pubDate>
		</item><item>
			<title>바람직한 Go - 자료 (3)</title>
			<link>https://forum.falinux.com/zbxe/goLang/878523</link>
				<description>이 글은 Effective Go를 일부 번역한 글입니다. 자료 make로 할당하기 다시 할당 이야기를 해 보자. 내장 함수 make(T, args)는 new(T)와 쓰임이 다르다. 조각, 맵, 채널만 만들고, (*T 형이 아니라) T 형 값을 (0 값이 아니라) 초기 설정해 반환한다. 예로 조각은 3개 항목 즉, (배열 내) 자료를 가리키는 포인터, 길이, 용량으로 이뤄진 기술자(Descriptor)다. 그리고 이 기술자를 초기 설정할 때까지 그 조각은 nil이다. 조각, ...</description>
		<category>go언어</category>					<dc:creator>김태훈</dc:creator>
			<guid isPermaLink="true">https://forum.falinux.com/zbxe/goLang/878523</guid>
	<comments>https://forum.falinux.com/zbxe/goLang/878523#comment</comments>			<pubDate>Tue, 23 Feb 2016 10:02:08 +0000</pubDate>
		</item><item>
			<title>바람직한 Go - 자료 (2)</title>
			<link>https://forum.falinux.com/zbxe/goLang/877669</link>
				<description>이 글은 Effective Go를 일부 번역한 글입니다. 자료 생성자와 혼합 리터럴 가끔 0 값으로는 충분하지 않고 초기 설정 생성자가 필요할 때가 있다. 아래 os 패키지에서 가져온 예를 보자. func NewFile(fd int, name string) *File { if fd &lt; 0 { return nil } f := new(File) f.fd = fd f.name = name f.dirinfo = nil f.nepipe = 0 return f } 재사용 문구(Boilerplate)가 상당히 많다. 우린 이걸 혼합 리터럴로 축약할 수 있다. ...</description>
		<category>go언어</category>					<dc:creator>김태훈</dc:creator>
			<guid isPermaLink="true">https://forum.falinux.com/zbxe/goLang/877669</guid>
	<comments>https://forum.falinux.com/zbxe/goLang/877669#comment</comments>			<pubDate>Tue, 16 Feb 2016 10:16:06 +0000</pubDate>
		</item><item>
			<title>바람직한 Go - 자료 (1)</title>
			<link>https://forum.falinux.com/zbxe/goLang/876417</link>
				<description>이 글은 Effective Go를 일부 번역한 글입니다. 자료 new로 할당하기 Go엔 두 가지 할당 기본 요소(Primitive)가 있다. 내장 함수 new와 make다. 둘은 다르게 동작하며 적용되는 유형이 다르다. 혼란스러울 수 있지만, 규칙은 간단하다. new부터 얘기해 보자. new는 메모리를 할당하는 내장 함수다. 하지만 다른 언어에서 하던 것과는 다르게 메모리를 초기 값으로 설정하진 않는다. 단순히 0 값으로 만들 뿐이다. new(T)는 새로운 ...</description>
		<category>go언어</category>					<dc:creator>김태훈</dc:creator>
			<guid isPermaLink="true">https://forum.falinux.com/zbxe/goLang/876417</guid>
	<comments>https://forum.falinux.com/zbxe/goLang/876417#comment</comments>			<pubDate>Tue, 02 Feb 2016 10:26:58 +0000</pubDate>
		</item><item>
			<title>바람직한 Go - 함수 (3)</title>
			<link>https://forum.falinux.com/zbxe/goLang/875888</link>
				<description>이 글은 Effective Go를 일부 번역한 글입니다. 함수 Defer Go의 defer는 defer를 실행한 함수 반환 직전에 (미뤄진) 함수 호출이 이뤄지도록 예약한다. 함수 반환 경로와 상관 없이 자원을 반드시 해제해야 하는 등 여러 상황을 처리하는 데 낯설지만 효과적인 방법이다. 뮤텍스를 풀거나 파일을 닫는 게 전형적인 예다. // Contents returns the file&#039;s contents as a string. func Contents(filename string) (string, error) { ...</description>
		<category>go언어</category>					<dc:creator>김태훈</dc:creator>
			<guid isPermaLink="true">https://forum.falinux.com/zbxe/goLang/875888</guid>
	<comments>https://forum.falinux.com/zbxe/goLang/875888#comment</comments>			<pubDate>Tue, 26 Jan 2016 09:50:29 +0000</pubDate>
		</item><item>
			<title>바람직한 Go - 함수 (2)</title>
			<link>https://forum.falinux.com/zbxe/goLang/875331</link>
				<description>이 글은 Effective Go를 일부 번역한 글입니다. 함수 이름 붙은 결과 매개 변수 Go 함수는 반환 또는 결과 매개 변수에 이름을 붙여 평범한 변수로 쓸 수 있다. 입력 매개 변수를 떠올리면 된다. 이름을 붙이면 함수를 시작할 때 각 형에 맞게 0 값으로 초기화한다. 함수가 인수 없이 return 문장을 실행하면, 현재 결과 매개 변수 값을 반환 값으로 사용한다. 이름 짓는 게 의무는 아니지만 코드를 더 짧고 명확하게 만들 수 있다....</description>
		<category>go언어</category>					<dc:creator>김태훈</dc:creator>
			<guid isPermaLink="true">https://forum.falinux.com/zbxe/goLang/875331</guid>
	<comments>https://forum.falinux.com/zbxe/goLang/875331#comment</comments>			<pubDate>Tue, 19 Jan 2016 12:51:50 +0000</pubDate>
		</item><item>
			<title>바람직한 Go - 함수 (1)</title>
			<link>https://forum.falinux.com/zbxe/goLang/874605</link>
				<description>이 글은 Effective Go를 일부 번역한 글입니다. 함수 다중 변수 반환 Go의 색다른 특성 중 하나는 함수와 메서드가 값을 여러 개 반환할 수 있다는 것이다. 이 형태로 C 프로그램에서 쓰던 까다로운 두 가지 어법을 개선할 수 있다. 바로 EOF에 -1을 반환하는 것 같은 대역 내(In-band) 오류 반환과 인수를 주소로 주고 수정하는 것이다. C에서 쓰기 오류는 음수로 나타내며 휘발성 공간에 오류 부호를 숨겨 놓는다. Go에선 Write가...</description>
		<category>go언어</category>					<dc:creator>김태훈</dc:creator>
			<guid isPermaLink="true">https://forum.falinux.com/zbxe/goLang/874605</guid>
	<comments>https://forum.falinux.com/zbxe/goLang/874605#comment</comments>			<pubDate>Tue, 12 Jan 2016 10:02:08 +0000</pubDate>
		</item><item>
			<title>바람직한 Go - 제어 구조 (4)</title>
			<link>https://forum.falinux.com/zbxe/goLang/873762</link>
				<description>이 글은 Effective Go를 일부 번역한 글입니다. 제어 구조 Go의 제어 구조는 C의 그것과 연관이 있지만 중요한 차이가 있다. do와 while 반복이 없고 조금 일반화된 for만 있다. switch는 더 유연하다. if와 switch에도 for처럼 초기화 문장을 넣을 수 있다. break와 continue 문장엔 이름표를 붙여 벗어나거나 재개할 것을 지정할 수 있다. 또한 새롭게 type switch와 다방향 통신 멀티플렉서 select가 제어 구조에 추가되었다. 구...</description>
		<category>go언어</category>					<dc:creator>김태훈</dc:creator>
			<guid isPermaLink="true">https://forum.falinux.com/zbxe/goLang/873762</guid>
	<comments>https://forum.falinux.com/zbxe/goLang/873762#comment</comments>			<pubDate>Tue, 05 Jan 2016 10:18:15 +0000</pubDate>
		</item><item>
			<title>바람직한 Go - 제어 구조 (3)</title>
			<link>https://forum.falinux.com/zbxe/goLang/872262</link>
				<description>이 글은 Effective Go를 일부 번역한 글입니다. 제어 구조 Go의 제어 구조는 C의 그것과 연관이 있지만 중요한 차이가 있다. do와 while 반복이 없고 조금 일반화된 for만 있다. switch는 더 유연하다. if와 switch에도 for처럼 초기화 문장을 넣을 수 있다. break와 continue 문장엔 이름표를 붙여 벗어나거나 재개할 것을 지정할 수 있다. 또한 새롭게 type switch와 다방향 통신 멀티플렉서 select가 제어 구조에 추가되었다. 구...</description>
		<category>go언어</category>					<dc:creator>김태훈</dc:creator>
			<guid isPermaLink="true">https://forum.falinux.com/zbxe/goLang/872262</guid>
	<comments>https://forum.falinux.com/zbxe/goLang/872262#comment</comments>			<pubDate>Tue, 15 Dec 2015 10:09:45 +0000</pubDate>
		</item><item>
			<title>바람직한 Go - 제어 구조 (2)</title>
			<link>https://forum.falinux.com/zbxe/goLang/871406</link>
				<description>이 글은 Effective Go를 일부 번역한 글입니다. 제어 구조 Go의 제어 구조는 C의 그것과 연관이 있지만 중요한 차이가 있다. do와 while 반복이 없고 조금 일반화된 for만 있다. switch는 더 유연하다. if와 switch에도 for처럼 초기화 문장을 넣을 수 있다. break와 continue 문장엔 이름표를 붙여 벗어나거나 재개할 것을 지정할 수 있다. 또한 새롭게 type switch와 다방향 통신 멀티플렉서 select가 제어 구조에 추가되었다. 구...</description>
		<category>go언어</category>					<dc:creator>김태훈</dc:creator>
			<guid isPermaLink="true">https://forum.falinux.com/zbxe/goLang/871406</guid>
	<comments>https://forum.falinux.com/zbxe/goLang/871406#comment</comments>			<pubDate>Tue, 08 Dec 2015 11:11:39 +0000</pubDate>
		</item><item>
			<title>바람직한 Go - 제어 구조 (1)</title>
			<link>https://forum.falinux.com/zbxe/goLang/871300</link>
				<description>이 글은 Effective Go를 일부 번역한 글입니다. 제어 구조 Go의 제어 구조는 C의 그것과 연관이 있지만 중요한 차이가 있다. do와 while 반복이 없고 조금 일반화된 for만 있다. switch는 더 유연하다. if와 switch에도 for처럼 초기화 문장을 넣을 수 있다. break와 continue 문장엔 이름표를 붙여 벗어나거나 재개할 것을 지정할 수 있다. 또한 새롭게 type switch와 다방향 통신 멀티플렉서 select가 제어 구조에 추가되었다. 구...</description>
		<category>go언어</category>					<dc:creator>김태훈</dc:creator>
			<guid isPermaLink="true">https://forum.falinux.com/zbxe/goLang/871300</guid>
	<comments>https://forum.falinux.com/zbxe/goLang/871300#comment</comments>			<pubDate>Mon, 07 Dec 2015 10:12:33 +0000</pubDate>
		</item><item>
			<title>바람직한 Go - 쌍반점</title>
			<link>https://forum.falinux.com/zbxe/goLang/870325</link>
				<description>이 글은 Effective Go를 일부 번역한 글입니다. 쌍반점(Semicolon) C처럼 Go의 공식 문법도 쌍반점으로 문장(Statement)을 끝낸다. 하지만 C와는 다르게 이 쌍반점은 소스에 나타나지 않는다. 대신 구문 분석기(Lexer)가 자동으로 문서를 훑으며 간단한 규칙에 따라 쌍반점을 삽입한다. 따라서 문서를 작성할 때 쌍반점을 신경쓰지 않아도 된다. 규칙은 이렇다. 줄을 바꾸기 전 마지막 문장 요소(Token)가 식별자(Identifier, int나...</description>
		<category>go언어</category>					<dc:creator>김태훈</dc:creator>
			<guid isPermaLink="true">https://forum.falinux.com/zbxe/goLang/870325</guid>
	<comments>https://forum.falinux.com/zbxe/goLang/870325#comment</comments>			<pubDate>Tue, 24 Nov 2015 12:05:32 +0000</pubDate>
		</item><item>
			<title>바람직한 Go - 이름 (2)</title>
			<link>https://forum.falinux.com/zbxe/goLang/869883</link>
				<description>이 글은 Effective Go를 일부 번역한 글입니다. 이름 이름은 Go에서도 다른 언어와 마찬가지로 중요하다. 이름은 심지어 의미에 영향을 주기도 한다. 패키지 밖에서 이름을 보려면 첫 글자를 대문자로 해야 하기 때문이다. 그러니 Go 프로그램의 명명법에 대해 잠깐 이야기해보자. 획득자(Getter) Go는 획득자와 설정자(Setter)를 자동으로 제공하지 않는다. 당신 스스로 획득자와 설정자를 만들어도 되며, 보통은 그렇게 하는 게 ...</description>
		<category>go언어</category>					<dc:creator>김태훈</dc:creator>
			<guid isPermaLink="true">https://forum.falinux.com/zbxe/goLang/869883</guid>
	<comments>https://forum.falinux.com/zbxe/goLang/869883#comment</comments>			<pubDate>Tue, 17 Nov 2015 09:54:07 +0000</pubDate>
		</item><item>
			<title>바람직한 Go - 이름 (1)</title>
			<link>https://forum.falinux.com/zbxe/goLang/869215</link>
				<description>이 글은 Effective Go를 일부 번역한 글입니다. 이름 이름은 Go에서도 다른 언어와 마찬가지로 중요하다. 이름은 심지어 의미에 영향을 주기도 한다. 패키지 밖에서 이름을 보려면 첫 글자를 대문자로 해야 하기 때문이다. 그러니 Go 프로그램의 명명법에 대해 잠깐 이야기해보자. 패키지 이름 패키지를 불러오면 패키지 이름으로 그 내용을 다룰 수 있다. import &quot;bytes&quot; 이렇게 패키지를 불러오면 bytes.Buffer를 다룰 수 있다. ...</description>
		<category>go언어</category>					<dc:creator>김태훈</dc:creator>
			<guid isPermaLink="true">https://forum.falinux.com/zbxe/goLang/869215</guid>
	<comments>https://forum.falinux.com/zbxe/goLang/869215#comment</comments>			<pubDate>Tue, 10 Nov 2015 12:29:12 +0000</pubDate>
		</item><item>
			<title>바람직한 Go - 주석</title>
			<link>https://forum.falinux.com/zbxe/goLang/868807</link>
				<description>이 글은 Effective Go를 일부 번역한 글입니다. 주석 Go는 C 방식 /* */ 구역 주석과 C++ 방식 // 줄 주석을 제공한다. 줄 주석은 표준이다. 구역 주석은 패키지 주석에 사용하지만, 식 안에 써넣기 좋으며, 코드를 덩어리째로 비활성화하기에 좋다. godoc 프로그램은 (그리고 웹 서버는) Go 소스 파일을 읽어 패키지 내용에 대한 문서를 만들어 낸다. 최상위 선언 전에 빈 줄 없이 적어둔 주석은 선언에 덧붙여 해당 항목을 설명하...</description>
		<category>go언어</category>					<dc:creator>김태훈</dc:creator>
			<guid isPermaLink="true">https://forum.falinux.com/zbxe/goLang/868807</guid>
	<comments>https://forum.falinux.com/zbxe/goLang/868807#comment</comments>			<pubDate>Tue, 03 Nov 2015 15:59:11 +0000</pubDate>
		</item><item>
			<title>바람직한 Go - 서식</title>
			<link>https://forum.falinux.com/zbxe/goLang/868001</link>
				<description>이 글은 Effective Go를 일부 번역한 글입니다. 서식 서식 문제는 가장 많은 논란을 불러오지만 가장 사소하다. 사람들은 다른 서식에 적응할 수 있지만 그럴 필요가 없는 게 더 낫고, 모두가 같은 서식을 따른다면 이 주제에 더 적은 시간을 할애할 것이다. 문제는 장문의 표준 서식 안내서 없이 이상향에 도달할 방법이다. 우린 Go에서 색다르게 접근하기로 했다. 서식 문제 대부분을 기계에 맡기는 것이다. gofmt 프로그램이 (go...</description>
		<category>go언어</category>					<dc:creator>김태훈</dc:creator>
			<guid isPermaLink="true">https://forum.falinux.com/zbxe/goLang/868001</guid>
	<comments>https://forum.falinux.com/zbxe/goLang/868001#comment</comments>			<pubDate>Tue, 27 Oct 2015 13:39:48 +0000</pubDate>
		</item><item>
			<title>바람직한 Go - 소개</title>
			<link>https://forum.falinux.com/zbxe/goLang/867949</link>
				<description>이 글은 Effective Go를 일부 번역한 글입니다. 소개 Go는 새로운 언어다. 비록 Go가 기존 언어들의 발상을 빌리긴 했지만, Go에는 독특한 속성이 있어 바람직한 Go 프로그램은 해당 언어로 작성한 프로그램들과는 성격이 다르다. C++나 Java를 단순히 Go로 번역해서는 만족스러운 결과가 나오기 어려울 것이다. Java 프로그램은 Java로 쓰지 Go로 쓰진 않는다. 반면, 문제를 Go의 관점에서 생각하면 프로그램을 잘 만들 수 있겠지...</description>
		<category>go언어</category>					<dc:creator>김태훈</dc:creator>
			<guid isPermaLink="true">https://forum.falinux.com/zbxe/goLang/867949</guid>
	<comments>https://forum.falinux.com/zbxe/goLang/867949#comment</comments>			<pubDate>Sun, 25 Oct 2015 15:47:50 +0000</pubDate>
		</item><item>
			<title>busybox 흉내내기</title>
			<link>https://forum.falinux.com/zbxe/goLang/864650</link>
				<description>Go언어는 실행파일이 static 컴파일 되기 때문에 사용하는 패키지의 종류가 늘어나면 용량이 제법 커집니다. 실제로 Martini를 사용하는 간단한 프로그램을 만들었더니 2~6메가 정도가 되었습니다. 일반적으로 C에서는 동적 라이브러리를 사용함으로써 동일한 기반 기술을 사용하는 여러개의 어플리케이션을 만든다 하더라도 실행파일의 크기가 크지 않으므로 문제가 되지 않습니다만, Go언어를 사용하여, 특히 임베디드 환경에서는...</description>
		<category>go언어</category>					<dc:creator>김민수</dc:creator>
			<guid isPermaLink="true">https://forum.falinux.com/zbxe/goLang/864650</guid>
	<comments>https://forum.falinux.com/zbxe/goLang/864650#comment</comments>			<pubDate>Fri, 18 Sep 2015 14:59:46 +0000</pubDate>
		</item><item>
			<title>Martini에서 POST 데이터를 활용하기</title>
			<link>https://forum.falinux.com/zbxe/goLang/863884</link>
				<description>Martini의 기본 router를 사용하면 key-value형식으로 된 POST 데이터는 아주 쉽게 받을 수 있습니다. 하지만 POST 데이터를 JSON 형식으로 보내게 된다면 martini의 기본 router를 사용해서는 값을 받을 수 없습니다. 이럴 땐 다음과 같이 하여 JSON 형식으로 된 POST 데이터를 활용할 수 있습니다. package main import ( &quot;github.com/go-martini/martini&quot; &quot;github.com/martini-contrib/render&quot; &quot;net/http&quot; &quot;io/ioutil&quot; &quot;encoding...</description>
		<category>go언어</category>					<dc:creator>김민수</dc:creator>
			<guid isPermaLink="true">https://forum.falinux.com/zbxe/goLang/863884</guid>
	<comments>https://forum.falinux.com/zbxe/goLang/863884#comment</comments>			<pubDate>Fri, 11 Sep 2015 19:24:06 +0000</pubDate>
		</item><item>
			<title>UDP broadcast를 사용해봅시다.</title>
			<link>https://forum.falinux.com/zbxe/goLang/863109</link>
				<description>udp broadcast는 동일 네트워크망 안에서 모두가 받을 수 있는 메시지를 전송하여 받을 곳의 IP를 알 수 없는 경우에 많이 사용합니다. broadcast ip는 255를 사용합니다. 즉, 192.168.255.255가 되면 ip가 192.168.xxx.xxx 인 네트워크는 모두 수신이 가능합니다. 우선 서버쪽 코드는 다음과 같습니다. package main import ( &quot;net&quot; &quot;log&quot; ) func main() { addr, err := net.ResolveUDPAddr(&quot;udp4&quot;, &quot;0.0.0.0:5555&quot;) if err != nil...</description>
		<category>go언어</category>					<dc:creator>김민수</dc:creator>
			<guid isPermaLink="true">https://forum.falinux.com/zbxe/goLang/863109</guid>
	<comments>https://forum.falinux.com/zbxe/goLang/863109#comment</comments>			<pubDate>Fri, 04 Sep 2015 18:10:46 +0000</pubDate>
		</item><item>
			<title>프로그램이 종료할 때 꼭 실행해야 할 일이 있다면</title>
			<link>https://forum.falinux.com/zbxe/goLang/860952</link>
				<description>go언어의 함수 사용법을 보면 C언어와 유사해도 색다른 점이 많습니다. C언어도 매우 간결하지만, go언어는 한술 더 뜬다고 할까요? 예를 들어 함수 이름 없이도 정의할 수 있습니다. 아래 처럼 말이죠. package main import &quot;fmt&quot; func main(){ fmt.Println( func( x, y int)(int, int){ return y, x }( 1, 2) ) } 함수 이름이 없으니 함수를 정의해 놓고 바로 인수를 전달했습니다. 이와 같은 함수 호출 특징을 defer에서 응용할 ...</description>
		<category>go언어</category>					<dc:creator>장길석</dc:creator>
			<guid isPermaLink="true">https://forum.falinux.com/zbxe/goLang/860952</guid>
	<comments>https://forum.falinux.com/zbxe/goLang/860952#comment</comments>			<pubDate>Tue, 11 Aug 2015 18:14:09 +0000</pubDate>
		</item><item>
			<title>Martini를 활용해서 간단한 웹서버 만들기</title>
			<link>https://forum.falinux.com/zbxe/goLang/859756</link>
				<description>Martini에는 martini-contrib라고 하는 여러가지의 plugin들을 제공합니다. 그중에 이번 글에서는 render를 소개할까 합니다. 공식 홈페이지는 https://github.com/martini-contrib/render 입니다. go의 기본 모듈인 http의 template을 좀 더 익숙한 형태로 사용할 수 있는 contrib입니다. 뿐만 아니라 JSON, XML같은 형식으로 출력하여 RESTful API에서 사용할 수 있는 함수도 제공합니다. 제가 만든 간단한 소스를 보고 어떤 식으...</description>
		<category>go언어</category>					<dc:creator>김민수</dc:creator>
			<guid isPermaLink="true">https://forum.falinux.com/zbxe/goLang/859756</guid>
	<comments>https://forum.falinux.com/zbxe/goLang/859756#comment</comments>			<pubDate>Fri, 31 Jul 2015 18:52:07 +0000</pubDate>
		</item><item>
			<title>Martini 소개</title>
			<link>https://forum.falinux.com/zbxe/goLang/858948</link>
				<description>golang에는 기본 패키지에 http가 포함되어있습니다만, 매우 원시적인 형태라서 이걸가지고 웹서버를 구현하려면 생각보다 할 일이 많습니다. 마치 win32 API를 사용해서 windows GUI 프로그램을 만드는 것과 같지요. 그래서 찾다보니 golang에도 많지는 않지만 web server용 framework이 있습니다. 이번에는 그 중 martini를 소개할까 합니다. https://github.com/go-martini/martini 에서 소스 및 기본적인 내용을 확인할 수 있습...</description>
		<category>go언어</category>					<dc:creator>김민수</dc:creator>
			<guid isPermaLink="true">https://forum.falinux.com/zbxe/goLang/858948</guid>
	<comments>https://forum.falinux.com/zbxe/goLang/858948#comment</comments>			<pubDate>Fri, 24 Jul 2015 18:24:36 +0000</pubDate>
		</item><item>
			<title>go언어의 리턴 개수는 하나 이상?</title>
			<link>https://forum.falinux.com/zbxe/goLang/858604</link>
				<description>go언어 함수는 선언하는 모습이 특이해서 한 개 이상의 반환 값을 사용할 수 있습니다. 예를 들어 두 개의 변수 값을 전달하고 두 변수의 값을 서로 교환해서 반환하는 함수를 어떻게 작성할까요? C언어에서는 당연히 포인터를 사용할 것입니다. void swap( int *ptr_a, int *ptr_b){ int temp; temp = *ptr_a; *ptr_a = *ptr_b; *ptr_b = temp; } int main( void){ int a = 3; int b = 4; swap( &amp;a, &amp;b); printf( &quot;%d %d\n&quot;, a, b)...</description>
		<category>go언어</category>					<dc:creator>오재경</dc:creator>
			<guid isPermaLink="true">https://forum.falinux.com/zbxe/goLang/858604</guid>
	<comments>https://forum.falinux.com/zbxe/goLang/858604#comment</comments>			<pubDate>Mon, 20 Jul 2015 23:23:58 +0000</pubDate>
		</item><item>
			<title>GO언어에서 멤버함수 만드는 방법</title>
			<link>https://forum.falinux.com/zbxe/goLang/858247</link>
				<description>GO언어 예제를 보면 C++처럼 class로 시작해서 속성과 멤버함수를 묶는 구문이 없습니다. struct 구문만 있는데 다른 객체 언어와는 다르게 GO언어에서는 포인터를 이용하여 독특한 방법으로 멤버 함수를 정의합니다. 예를 들어 사각형 객체 rectangle 대해서 넓이와 높이, 면적을 계산하는 멤범 함수를 구현하려면 아래와 같이 포인터를 이용합니다. package main import &quot;fmt&quot; type rectangle struct{ left, top, right, bottom i...</description>
		<category>go언어</category>					<dc:creator>장길석</dc:creator>
			<guid isPermaLink="true">https://forum.falinux.com/zbxe/goLang/858247</guid>
	<comments>https://forum.falinux.com/zbxe/goLang/858247#comment</comments>			<pubDate>Thu, 16 Jul 2015 10:52:04 +0000</pubDate>
		</item><item>
			<title>channel 이해하기</title>
			<link>https://forum.falinux.com/zbxe/goLang/855114</link>
				<description>이번에도 간단한 예제 프로그램으로 go의 가장 큰 장점 중의 하나인 channel에 대해서 이해를 해봅시다. 우선 소스를 먼저 보겠습니다. package main import &quot;fmt&quot; import &quot;time&quot; var air chan Ball var left chan Ball var right chan Ball type Ball struct { color string } func throwBall(ball Ball) { fmt.Println(ball.color + &quot; 공을 공중으로 던진다.&quot;); air &lt;- ball } func catchBallLeft() { for ;; { ball := &lt;- left f...</description>
		<category>go언어</category>					<dc:creator>김민수</dc:creator>
			<guid isPermaLink="true">https://forum.falinux.com/zbxe/goLang/855114</guid>
	<comments>https://forum.falinux.com/zbxe/goLang/855114#comment</comments>			<pubDate>Fri, 26 Jun 2015 15:05:24 +0000</pubDate>
		</item><item>
			<title>go 언어 함수 사용</title>
			<link>https://forum.falinux.com/zbxe/goLang/854667</link>
				<description>go 언어에서의 함수 사용법을 간략히 설명 하고자 한다. 1. 함수의 선언 고랭에서 함수의 선언 위치는 어디든 상관 없다. c 에서는 main 함수보다 먼저 선언 되어야만 호출이 되지만, 고랭에서는 상관 없다. 2. 함수 형태 func 함수명() (반환값 형, 반환값 형, .. ){ 내용 return } 2. 함수의 문법 고랭의 함수 정의시 중괄호는 반드시 함수 명 뒤에 붙어야 한다. 줄바꿈하여 다음칸에 중괄호를 하면 에러가 발생 한다. 3. 함수의 ...</description>
		<category>go언어</category>					<dc:creator>선성태</dc:creator>
			<guid isPermaLink="true">https://forum.falinux.com/zbxe/goLang/854667</guid>
	<comments>https://forum.falinux.com/zbxe/goLang/854667#comment</comments>			<pubDate>Sun, 21 Jun 2015 23:41:29 +0000</pubDate>
		</item><item>
			<title>golang의 interface와 java의 interface 비교</title>
			<link>https://forum.falinux.com/zbxe/goLang/853979</link>
				<description>밑에서 몇차례 golang의 interface에 대해서 언급이 된 글이 있습니다만, 이 글에서는 golang과 java에서 사용되는 interface의 차이점에 대해서 살펴보겠습니다. 우선 Cat, Dog이 Animal이라는 상위 개념으로 대변할 수 있고, Animal은 소리를 낼 수 있다라고 가정한 코드를 만들어보겠습니다. public interface Animal { public void sound(); } public class Cat implements Animal { public void sound() { System.out.println(...</description>
		<category>go언어</category>					<dc:creator>김민수</dc:creator>
			<guid isPermaLink="true">https://forum.falinux.com/zbxe/goLang/853979</guid>
	<comments>https://forum.falinux.com/zbxe/goLang/853979#comment</comments>			<pubDate>Tue, 16 Jun 2015 19:36:45 +0000</pubDate>
		</item><item>
			<title>go를 사용해서 knight move를 해봅시다.</title>
			<link>https://forum.falinux.com/zbxe/goLang/853694</link>
				<description>머리도 식힐겸 재미난 프로그램을 하나 만들어보았습니다. 이 프로그램에 필요한 기술은 1. 2차원 slice 2. call by reference, call by value등에 대한 이해 3. 재귀호출 입니다. 우선 knight move가 무엇인지 궁금하실꺼라 생각합니다. 5x5 형태의 체스판이 있고 knight (장기로 쳤을 때 &#039;마&#039;에 해당하는 기물)가 한쪽 귀퉁이에 있습니다. 이 knight를 움직여서 모든 칸을 한번씩만 밟도록 하는 것이 목표입니다. 이 움직임을 두...</description>
		<category>go언어</category>					<dc:creator>김민수</dc:creator>
			<guid isPermaLink="true">https://forum.falinux.com/zbxe/goLang/853694</guid>
	<comments>https://forum.falinux.com/zbxe/goLang/853694#comment</comments>			<pubDate>Fri, 12 Jun 2015 17:00:30 +0000</pubDate>
		</item><item>
			<title>go를 사용해서 json 모양 이쁘게 출력하기</title>
			<link>https://forum.falinux.com/zbxe/goLang/853691</link>
				<description>소스는 다음과 같습니다. package main import &quot;fmt&quot; import &quot;encoding/json&quot; import &quot;io/ioutil&quot; import &quot;os&quot; func prettifierJson(jsonFileName string) { var parsed interface{} content, err := ioutil.ReadFile(jsonFileName) if err != nil { panic(err) } json.Unmarshal(content, &amp;parsed) jsonData, err := json.MarshalIndent(parsed, &quot;&quot;, &quot; &quot;) if err != nil { panic(err) } fmt.Println(string(jsonData)) } func main...</description>
		<category>go언어</category>					<dc:creator>김민수</dc:creator>
			<guid isPermaLink="true">https://forum.falinux.com/zbxe/goLang/853691</guid>
	<comments>https://forum.falinux.com/zbxe/goLang/853691#comment</comments>			<pubDate>Fri, 12 Jun 2015 16:52:52 +0000</pubDate>
		</item><item>
			<title>go 컴파일러 설치</title>
			<link>https://forum.falinux.com/zbxe/goLang/853349</link>
				<description>go 언어는 학습 환경이 잘 되어 있습니다. http://go-tour-kr.appspot.com/#1 위 사이트는 go 언어를 쉽게 학습 할 수 있도 단계별로 구성 되어 있습니다. 처음 해보는 사람들도 쉽게 예제코드를 수정해 가며 직접 동작 시켜 볼 수 있도록 되어 있더군요. 하지만 역시 go 컴파일러를 설치 해서 브라우저가 아닌 pc 에서 해보는 것도 좋겠지요.. go 컴파일러를 설치 해 보겠습니다. Install package golangThe golang Debian package...</description>
		<category>go언어</category>					<dc:creator>선성태</dc:creator>
			<guid isPermaLink="true">https://forum.falinux.com/zbxe/goLang/853349</guid>
	<comments>https://forum.falinux.com/zbxe/goLang/853349#comment</comments>			<pubDate>Sun, 07 Jun 2015 23:09:23 +0000</pubDate>
		</item><item>
			<title>[Go] linux에서 windows용 go 결과물 만들기</title>
			<link>https://forum.falinux.com/zbxe/goLang/851721</link>
				<description>우선 go 개발 환경이 설치가 되어있다라고 가정을 하고 설명을 합니다. 우선 GOROOT로 이동합니다. cd $GOROOT cd src windows용 sdk를 설치하겠습니다. (x86 기준입니다) GOOS=windows GOARCH=386 ./make.bash 작업 공간으로 이동하여 다음 명령으로 빌드를 하면 linux에서 windows에서 사용할 수 있는 exe파일을 만들 수 있습니다. GOOS=windows GOARCH=386 go build</description>
		<category>go언어</category>					<dc:creator>김민수</dc:creator>
			<guid isPermaLink="true">https://forum.falinux.com/zbxe/goLang/851721</guid>
	<comments>https://forum.falinux.com/zbxe/goLang/851721#comment</comments>			<pubDate>Fri, 29 May 2015 14:23:03 +0000</pubDate>
		</item><item>
			<title>[go] interface 에 대해</title>
			<link>https://forum.falinux.com/zbxe/goLang/850935</link>
				<description>go 로 작성된 소스는 눈으로 읽기에 쉽다. 직접 작성하려고 하면 초보자가 난관에 부딪히는 부분이 interface 부분이다. 필자도 초보 ^^ 아래의 소스를 보자 const jsonStream = ` {&quot;Name&quot;: &quot;Ed&quot;, &quot;Text&quot;: &quot;Knock knock.&quot;} {&quot;Name&quot;: &quot;Sam&quot;, &quot;Text&quot;: &quot;Go fmt who?&quot;} {&quot;Name&quot;: &quot;Ed&quot;, &quot;Text&quot;: &quot;Go fmt yourself!&quot;} ` dec := json.NewDecoder( strings.NewReader(jsonStream) ) 위에서 json.NewDecoder 함수는 인자로 io.Reader 를 받는...</description>
		<category>go언어</category>					<dc:creator>오재경</dc:creator>
			<guid isPermaLink="true">https://forum.falinux.com/zbxe/goLang/850935</guid>
	<comments>https://forum.falinux.com/zbxe/goLang/850935#comment</comments>			<pubDate>Fri, 22 May 2015 17:43:18 +0000</pubDate>
		</item><item>
			<title>go언어 인터페이스로 객체 처리를 통일</title>
			<link>https://forum.falinux.com/zbxe/goLang/832874</link>
				<description>go언어에도 인터페이스(interface)를 제공합니다. interface를 사용하면 객체가 서로 달라도 같은 이름의 메소드를 호출할 수 있습니다. 예를 들어 보겠습니다. 원(Circle) 객체를 생성하고 면적을 구하는 area() 메소드를 추가하겠습니다. type Circle struct { x, y, r float64 } func (c *Circle) area() float64 { return math.Pi * c.r*c.r } 좌표 x, y에서 지름 r인 원에 대한 면적을 구하는 area() 메소드를 추가했습니다. ...</description>
		<category>go언어</category>					<dc:creator>장길석</dc:creator>
			<guid isPermaLink="true">https://forum.falinux.com/zbxe/goLang/832874</guid>
	<comments>https://forum.falinux.com/zbxe/goLang/832874#comment</comments>			<pubDate>Tue, 14 Apr 2015 13:13:02 +0000</pubDate>
		</item><item>
			<title>Go 언어에서 문자열, 바이트열 ,문자 및 특수문자 (1)</title>
			<link>https://forum.falinux.com/zbxe/goLang/832735</link>
				<description>이 글은 Robert Pike 가 쓴 블로그글을 발로 번역한 글입니다. 원문은 https://blog.golang.org/strings 이고 이글은 그 중 앞뿐입니다. 다음 주에 그 다음 부분을 올리겠습니다. Go 언어에서 문자열, 바이트열 ,문자 및 특수문자 2013년 8월 23 일 ### 개요 -------------------- 이전 블로그에서, 슬라이스의 숨겨졌던 내부 구현에 대하여 설명하기 위해 그림이 포함된 많은 예를 들었고, 슬라이스를 Go 언어에서 어떻게 다루어야...</description>
		<category>go언어</category>					<dc:creator>유영창</dc:creator>
			<guid isPermaLink="true">https://forum.falinux.com/zbxe/goLang/832735</guid>
	<comments>https://forum.falinux.com/zbxe/goLang/832735#comment</comments>			<pubDate>Fri, 10 Apr 2015 23:29:58 +0000</pubDate>
		</item><item>
			<title>go언어에서 키보드로 변수 값을  입력 받는 방법</title>
			<link>https://forum.falinux.com/zbxe/goLang/832320</link>
				<description>프로그램 실행 중에 숫자나 문자열을 입력 받고 싶은데 go언어에서는 어떻게 처리하면 될까요? 간단합니다. 필요한 형태의 변수를 생성한 후 fmt.Scanln()을 사용하면 변수 타입에 관계 없이 값을 입력 받을 수 있습니다. 아래 예는 변수 이름과 실수를 입력 받아 화면에 출력해 줍니다. 문자열이든 숫자 변수이든 fmt.Scanln() 함수 사용 방법이 같아서 편합니다. package main import ( &quot;fmt&quot; ) func main() { var s_name string ...</description>
		<category>go언어</category>					<dc:creator>장길석</dc:creator>
			<guid isPermaLink="true">https://forum.falinux.com/zbxe/goLang/832320</guid>
	<comments>https://forum.falinux.com/zbxe/goLang/832320#comment</comments>			<pubDate>Tue, 07 Apr 2015 20:24:07 +0000</pubDate>
		</item><item>
			<title>go언어에서 쓰레드를 사용하는 간단한 방법</title>
			<link>https://forum.falinux.com/zbxe/goLang/832309</link>
				<description>go언어는 자바와 C를 섞어 놓은 듯하지만, 사용할 수록 go언어만의 개성이 보입니다. 쓰레드 사용이 그런데 자바도 쓰레드 사용이 편하죠? 그러나 go언어에서 더 편합니다. 함수를 만들어 놓고 함수 호출할 때 go 문자만 함수 앞에 삽입하면 됩니다. package main import ( &quot;fmt&quot; &quot;time&quot; ) func fun_thread( ) { for i := 0; ; i++ { fmt.Println( i) time.Sleep(100 * time.Millisecond) } } func main() { go fun_thread() var in...</description>
		<category>go언어</category>					<dc:creator>장길석</dc:creator>
			<guid isPermaLink="true">https://forum.falinux.com/zbxe/goLang/832309</guid>
	<comments>https://forum.falinux.com/zbxe/goLang/832309#comment</comments>			<pubDate>Tue, 07 Apr 2015 17:45:08 +0000</pubDate>
		</item><item>
			<title>GO 언어에서 멤버함수의 참조형 구조체와 값 구조체의 차이</title>
			<link>https://forum.falinux.com/zbxe/goLang/831760</link>
				<description>go 언어를 좀 더 알아 가다 보면 C 언어와 동일하게 헷깔리는 것이 포인터가 되겠습니다. 다음 소스의 결과를 아시는 분은 포인터와 비 포인터의 구분을 정확하게 이해 하시는 분이고 그렇지 않은 분들은 이 부분에 대한 심화 학습이 필요하다고 판단됩니다. ^^ package main import &quot;fmt&quot; type R struct { id int name string } type P struct { id int name string } func ( r R ) print() { fmt.Println( r.id , r.name ) } func...</description>
		<category>go언어</category>					<dc:creator>유영창</dc:creator>
			<guid isPermaLink="true">https://forum.falinux.com/zbxe/goLang/831760</guid>
	<comments>https://forum.falinux.com/zbxe/goLang/831760#comment</comments>			<pubDate>Sun, 29 Mar 2015 11:41:27 +0000</pubDate>
		</item><item>
			<title>GO언어에서 숫자를 입력 받으려면?</title>
			<link>https://forum.falinux.com/zbxe/goLang/831693</link>
				<description>GO언어를 보면 C언어 같기도, 자바 언어 같기도 합니다. 시간이 날 때마다 열심히 학습을 하고 있는데 테스트를 하려면 입력이 중요하지요. GO언어에서는 숫자를 어떻게 입력 받을 까요? C언어처럼 scanf를 사용하면 됩니다. package main import &quot;fmt&quot; func main(){ var input float64 fmt.Println( &quot;enter float:&quot;) fmt.Scanf( &quot;%f&quot;, &amp;input) output := input * 2; fmt.Println( input, output) } 간단하지요? ^^</description>
		<category>go언어</category>					<dc:creator>장길석</dc:creator>
			<guid isPermaLink="true">https://forum.falinux.com/zbxe/goLang/831693</guid>
	<comments>https://forum.falinux.com/zbxe/goLang/831693#comment</comments>			<pubDate>Fri, 27 Mar 2015 20:38:43 +0000</pubDate>
		</item><item>
			<title>golang GO언어에서 C 코드 사용하기</title>
			<link>https://forum.falinux.com/zbxe/goLang/831500</link>
				<description>Go 는 기본적으로 많은 함수(?)들을 제공하지만 제공되지 않는 LIB 나 혹은 예전에 작성한 알고리즘등 당장 GO 언어로 변경하기 힘든 코드가 있다면 이를 사용할 수가 있다. (Mathlab으로 작성한 알고리즘이 생각난다) import &quot;C&quot; 를 선언하고 아래처럼 버퍼가 필요하면 생성하고 해제하여 사용하고 정수형의 경우는 그냥 사용한다. func Strtol(s string, base int) (int, error) { p := C.CString(s) // 문자열은 메모리 할당 n, ...</description>
		<category>go언어</category>					<dc:creator>오재경</dc:creator>
			<guid isPermaLink="true">https://forum.falinux.com/zbxe/goLang/831500</guid>
	<comments>https://forum.falinux.com/zbxe/goLang/831500#comment</comments>			<pubDate>Sun, 22 Mar 2015 21:05:55 +0000</pubDate>
		</item><item>
			<title>go 언어 학습용 강추 사이트</title>
			<link>https://forum.falinux.com/zbxe/goLang/831476</link>
				<description>go 언어가 쉽기는 하지만 일단 익숙해 지려면 공부를 좀 하는 것이 좋겠죠? 학습 과정에 꼭 필요한 사이트들을 소개 할까 합니다. 가장 기초 학습 http://go-tour-kr.appspot.com/#1 예 이곳은 한글로 언어 공부 할수 있는 곳이죠... 그 다음에 이해하기 쉬운 예제가 필요하면 여기를 방문해 보세요 https://gobyexample.com/ 그리고 필수적인 문서 한글 번역본 https://code.google.com/p/golang-korea/ 그리고 마지막으로 각종 패...</description>
		<category>go언어</category>					<dc:creator>유영창</dc:creator>
			<guid isPermaLink="true">https://forum.falinux.com/zbxe/goLang/831476</guid>
	<comments>https://forum.falinux.com/zbxe/goLang/831476#comment</comments>			<pubDate>Sat, 21 Mar 2015 22:40:17 +0000</pubDate>
		</item><item>
			<title>go언어의 switch문 특징</title>
			<link>https://forum.falinux.com/zbxe/goLang/831296</link>
				<description>새로운 언어를 학습하다보면 이전에 사용하던 언어와 비교하게됩니다. 아무래도 사용하던 언어에 익숙하기 때문이죠. C언어를 주력으로 사용하다 보니 새로운 go언어를 학습하면서도 C언어와 비교하고 어뚱하게 C언어에 더욱 집찹하게 됩니다. 비교되는 내용 중 하나가 switch 문입니다. if 보다는 문 대신에 switch 문을 사용하는데 switch문은 실행 속도를 높이기 위함인지 비교 대상이 상수이죠. 그래서 어쩔 수 없이 if 문을 사...</description>
		<category>go언어</category>					<dc:creator>장길석</dc:creator>
			<guid isPermaLink="true">https://forum.falinux.com/zbxe/goLang/831296</guid>
	<comments>https://forum.falinux.com/zbxe/goLang/831296#comment</comments>			<pubDate>Wed, 18 Mar 2015 12:36:42 +0000</pubDate>
		</item><item>
			<title>golang 설치 (윈도우)</title>
			<link>https://forum.falinux.com/zbxe/goLang/831202</link>
				<description>익숙히 아는 사이트에서.. 마스코드 밑에 있는 &quot;Download Go&quot; 클릭 아래 사이트에서도 동일하게 나는 윈도우 64bit 이니 windows amd64 msi 선택 (path 설정하기 귀챦으니) 여기 잠깐, 64bit 는 왜 amd 일까? amd 가 64bit CPU 를 가장 먼저 만들어서 i686 혹은 IA64 가 아닌 amd64 가 되었다는... 그 여새를 몰아 ARM64 도 만들었는데... 아직 ARM64 에 대한 평가는 아직... 설치하고 디폴트 디렉토리 C:\Go 로 고고씽 설치가 잘되...</description>
		<category>go언어</category>					<dc:creator>오재경</dc:creator>
			<guid isPermaLink="true">https://forum.falinux.com/zbxe/goLang/831202</guid>
	<comments>https://forum.falinux.com/zbxe/goLang/831202#comment</comments>			<pubDate>Sun, 15 Mar 2015 21:23:28 +0000</pubDate>
		</item>	</channel>
</rss>
