status-go/vendor/go.lsp.dev/protocol/util.go

10 lines
223 B
Go
Raw Normal View History

// SPDX-FileCopyrightText: 2019 The Go Language Server Authors
// SPDX-License-Identifier: BSD-3-Clause
package protocol
// NewVersion returns the int32 pointer converted i.
func NewVersion(i int32) *int32 {
return &i
}