Skip to content
Snippets Groups Projects

Use webpack for bundling JS libs and move Golang code related to Iframe generation there

Merged Igor Markin requested to merge feature-vcl-webpack-bundle into master
1 file
+ 1
7
Compare changes
  • Side-by-side
  • Inline
+ 1
7
package main
package jslibs
import (
"fmt"
@@ -7,12 +7,6 @@ import (
"strings"
)
func main() {
result := GetClientJsLibrary("https://test.org")
fmt.Println("Hello, world.")
fmt.Println(result)
}
func GetClientJsLibrary(iframeUrl string) string {
path, err := filepath.Abs("../vcl/javascript/dist/viamapi-client.js")
Loading