blob: faa0460edf53ea6372f7299a866f2db55ae02c8b [file] [log] [blame]
// Copyright 2015 The Vanadium 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 java
import (
"strings"
)
// javaPath converts the provided Go path into the Java path. It replaces all "/"
// with "." in the path.
func javaPath(goPath string) string {
return strings.Replace(goPath, "/", ".", -1)
}