magicurl

package module
v0.0.0-...-dab1d25 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 7, 2024 License: MIT Imports: 0 Imported by: 0

README

magic-url

WORK IN PROGRESS

Sebuah aplikasi Backend REST API untuk layanan aplikasi pemendek URL atau tautan.

How to build

release build
# linux
pkgname="github.com/binarstrike/magic-url"

go build -o magic-url -ldflags="-s -w -X $pkgname/config.APP_ENV=production -X $pkgname/config.APP_VERSION=0.0.3-release" -trimpath $pkgname/cmd/magic-url/...

# windows powershell
$pkgname = "github.com/binarstrike/magic-url"

go build -o magic-url.exe -ldflags="-s -w -X $pkgname/config.APP_ENV=production -X $pkgname/config.APP_VERSION=0.0.3-release" -trimpath $pkgname/cmd/magic-url/...
debug build
# linux
go build -o magic-url ./cmd/magic-url

# windows
go build -o magic-url.exe .\cmd\magic-url

How to run

# linux
./magic-url

# windows
.\magic-url.exe

Documentation

Overview

Magic URL

@title        Magic URL
@version      0.0.1
@description  Backend API service for URL shortener app
@BasePath     /api/v1

Directories

Path Synopsis
cmd
Package docs Code generated by swaggo/swag.
Package docs Code generated by swaggo/swag.
internal
session/mock
Package session_mock is a generated GoMock package.
Package session_mock is a generated GoMock package.
user/mock
Package user_mock is a generated GoMock package.
Package user_mock is a generated GoMock package.
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL