commit
7058b320c2
@ -1,6 +1,15 @@
|
|||||||
// Copyright 2014 The Go Authors. All rights reserved.
|
// Copyright 2017 Google Inc. All rights reserved.
|
||||||
// Use of this source code is governed by a BSD-style
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
// license that can be found in the LICENSE file.
|
// you may not use this file except in compliance with the License.
|
||||||
|
// You may obtain a copy of the License at
|
||||||
|
// http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
//
|
||||||
|
// Unless required by applicable law or agreed to writing, software distributed
|
||||||
|
// under the License is distributed on a "AS IS" BASIS, WITHOUT WARRANTIES OR
|
||||||
|
// CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
//
|
||||||
|
// See the License for the specific language governing permissions and
|
||||||
|
// limitations under the License.
|
||||||
|
|
||||||
package main
|
package main
|
||||||
|
|
||||||
|
15
jsonenums.go
15
jsonenums.go
@ -1,6 +1,15 @@
|
|||||||
// Copyright 2014 The Go Authors. All rights reserved.
|
// Copyright 2017 Google Inc. All rights reserved.
|
||||||
// Use of this source code is governed by a BSD-style
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
// license that can be found in the LICENSE file.
|
// you may not use this file except in compliance with the License.
|
||||||
|
// You may obtain a copy of the License at
|
||||||
|
// http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
//
|
||||||
|
// Unless required by applicable law or agreed to writing, software distributed
|
||||||
|
// under the License is distributed on a "AS IS" BASIS, WITHOUT WARRANTIES OR
|
||||||
|
// CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
//
|
||||||
|
// See the License for the specific language governing permissions and
|
||||||
|
// limitations under the License.
|
||||||
|
|
||||||
// JSONenums is a tool to automate the creation of methods that satisfy the
|
// JSONenums is a tool to automate the creation of methods that satisfy the
|
||||||
// fmt.Stringer, json.Marshaler and json.Unmarshaler interfaces.
|
// fmt.Stringer, json.Marshaler and json.Unmarshaler interfaces.
|
||||||
|
@ -1,6 +1,15 @@
|
|||||||
// Copyright 2014 The Go Authors. All rights reserved.
|
// Copyright 2017 Google Inc. All rights reserved.
|
||||||
// Use of this source code is governed by a BSD-style
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
// license that can be found in the LICENSE file.
|
// you may not use this file except in compliance with the License.
|
||||||
|
// You may obtain a copy of the License at
|
||||||
|
// http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
//
|
||||||
|
// Unless required by applicable law or agreed to writing, software distributed
|
||||||
|
// under the License is distributed on a "AS IS" BASIS, WITHOUT WARRANTIES OR
|
||||||
|
// CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
//
|
||||||
|
// See the License for the specific language governing permissions and
|
||||||
|
// limitations under the License.
|
||||||
|
|
||||||
// Package parser parses Go code and keeps track of all the types defined
|
// Package parser parses Go code and keeps track of all the types defined
|
||||||
// and provides access to all the constants defined for an int type.
|
// and provides access to all the constants defined for an int type.
|
||||||
|
@ -1,9 +1,3 @@
|
|||||||
# Copyright 2015 Google Inc. All rights reserved.
|
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
# you may not use this file except in compliance with the License.
|
|
||||||
# You may obtain a copy of the License at
|
|
||||||
# http:#www.apache.org/licenses/LICENSE-2.0
|
|
||||||
|
|
||||||
# Unless required by applicable law or agreed to writing, software distributed
|
# Unless required by applicable law or agreed to writing, software distributed
|
||||||
# under the License is distributed on a "AS IS" BASIS, WITHOUT WARRANTIES OR
|
# under the License is distributed on a "AS IS" BASIS, WITHOUT WARRANTIES OR
|
||||||
# CONDITIONS OF ANY KIND, either express or implied.
|
# CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
@ -1,6 +1,15 @@
|
|||||||
// Copyright 2014 The Go Authors. All rights reserved.
|
// Copyright 2017 Google Inc. All rights reserved.
|
||||||
// Use of this source code is governed by a BSD-style
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
// license that can be found in the LICENSE file.
|
// you may not use this file except in compliance with the License.
|
||||||
|
// You may obtain a copy of the License at
|
||||||
|
// http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
//
|
||||||
|
// Unless required by applicable law or agreed to writing, software distributed
|
||||||
|
// under the License is distributed on a "AS IS" BASIS, WITHOUT WARRANTIES OR
|
||||||
|
// CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
//
|
||||||
|
// See the License for the specific language governing permissions and
|
||||||
|
// limitations under the License.
|
||||||
|
|
||||||
// +build !appengine
|
// +build !appengine
|
||||||
|
|
||||||
|
@ -1,6 +1,15 @@
|
|||||||
// Copyright 2014 The Go Authors. All rights reserved.
|
// Copyright 2017 Google Inc. All rights reserved.
|
||||||
// Use of this source code is governed by a BSD-style
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
// license that can be found in the LICENSE file.
|
// you may not use this file except in compliance with the License.
|
||||||
|
// You may obtain a copy of the License at
|
||||||
|
// http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
//
|
||||||
|
// Unless required by applicable law or agreed to writing, software distributed
|
||||||
|
// under the License is distributed on a "AS IS" BASIS, WITHOUT WARRANTIES OR
|
||||||
|
// CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
//
|
||||||
|
// See the License for the specific language governing permissions and
|
||||||
|
// limitations under the License.
|
||||||
|
|
||||||
// Server is an http server that provides an alternative way of generating code
|
// Server is an http server that provides an alternative way of generating code
|
||||||
// based on int types and the constants defined with it.
|
// based on int types and the constants defined with it.
|
||||||
|
@ -1,9 +1,16 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
Copyright 2014 The Go Authors. All rights reserved.
|
Copyright 2017 Google Inc. All rights reserved.
|
||||||
Use of this source code is governed by a BSD-style
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
license that can be found in the LICENSE file.
|
you may not use this file except in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
Unless required by applicable law or agreed to writing, software distributed
|
||||||
|
under the License is distributed on a "AS IS" BASIS, WITHOUT WARRANTIES OR
|
||||||
|
CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<html>
|
<html>
|
||||||
|
15
template.go
15
template.go
@ -1,6 +1,15 @@
|
|||||||
// Copyright 2014 The Go Authors. All rights reserved.
|
// Copyright 2017 Google Inc. All rights reserved.
|
||||||
// Use of this source code is governed by a BSD-style
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
// license that can be found in the LICENSE file.
|
// you may not use this file except in compliance with the License.
|
||||||
|
// You may obtain a copy of the License at
|
||||||
|
// http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
//
|
||||||
|
// Unless required by applicable law or agreed to writing, software distributed
|
||||||
|
// under the License is distributed on a "AS IS" BASIS, WITHOUT WARRANTIES OR
|
||||||
|
// CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
//
|
||||||
|
// See the License for the specific language governing permissions and
|
||||||
|
// limitations under the License.
|
||||||
|
|
||||||
// Added as a .go file to avoid embedding issues of the template.
|
// Added as a .go file to avoid embedding issues of the template.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user