"Go 형용사 명사 생성기"의 두 판 사이의 차이

(새 문서: ==개요== ;Go 형용사 명사 생성기 <syntaxhighlight lang='go' run> package main import ( "fmt" "github.com/castillobgr/sententia" ) func main() { words, _ := sententia.M...)
 
12번째 줄: 12번째 줄:


func main() {
func main() {
words, _ := sententia.Make("{{ adjective }}-{{ noun }}")
s, _ := sententia.Make("{{ adjective }}-{{ noun }}")
fmt.Println(words) // uncooked-playroom
fmt.Println(s) // uncooked-playroom
}
}
</syntaxhighlight>
</syntaxhighlight>

2024년 5월 11일 (토) 12:45 판

1 개요

Go 형용사 명사 생성기
package main

import (
	"fmt"

	"github.com/castillobgr/sententia"
)

func main() {
	s, _ := sententia.Make("{{ adjective }}-{{ noun }}")
	fmt.Println(s) // uncooked-playroom
}

2 같이 보기

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}