package main
import("github.com/gin-gonic/gin")
func main(){
router := gin.Default()
router.Static("/","./public")// Listen and serve on 0.0.0.0:8080
router.Run(":8080")}
html
<scriptsrc='js/aframe-master.min.js'></script><style>.arjs-loader{
height: 100%;width: 100%;position: absolute;top: 0;left: 0;background-color:rgba(0, 0, 0, 0.8);z-index: 9999;display: flex;justify-content: center;align-items: center;}.arjs-loader div{
text-align: center;font-size: 1.25em;color: white;}</style><!-- rawgithack development URL --><scriptsrc='js/aframe-ar-nft.js'></script><bodystyle='margin: 0px;overflow: hidden;'><!-- minimal loader shown until image descriptors are loaded --><divclass="arjs-loader"><div>Loading, please wait...</div></div><a-scenevr-mode-ui='enabled: false;'renderer="logarithmicDepthBuffer: true;"embeddedarjs='trackingMethod: best; sourceType: webcam; debugUIEnabled: false;'><!-- use rawgithack to retrieve the correct url for nft marker (see 'pinball' below) --><a-nfttype='nft'url='./trex/trex-image/trex'smooth='true'smoothCount='10'smoothTolerance='0.01'smoothThreshold='5'><a-entitygltf-model='./trex/scene.gltf'scale="5 5 5"position="150 300 -100"></a-entity></a-nft><a-entitycamera></a-entity></a-scene></body>