1
0
mirror of https://github.com/go-micro/go-micro.git synced 2025-01-05 10:20:53 +02:00
go-micro/examples/form
2020-12-26 15:21:29 +00:00
..
api rename imports 2020-12-26 15:21:29 +00:00
web Add examples 2020-12-26 15:17:20 +00:00
README.md Add examples 2020-12-26 15:17:20 +00:00

Form

This rudimentary example demonstrates how to access a form and multipart form when writing API services

Contents

  • web - is the web front end with the form
  • api - is the api service

Usage

Run the micro api

micro api --handler=api

Run the micro web

micro web

Run the api service

go run api/main.go

Run the web service

go run web/main.go

Browse to localhost:8082/form