summaryrefslogtreecommitdiff
path: root/vendor/golang.org/x/text/cmd/gotext/examples/extract_http/main.go
blob: c1ac4494b63e05dd162d3e839a916344f70b549e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Copyright 2017 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

package main

//go:generate gotext extract --lang=de,zh

import (
	"net/http"

	"golang.org/x/text/cmd/gotext/examples/extract_http/pkg"
)

func main() {
	http.Handle("/generize", http.HandlerFunc(pkg.Generize))
}