-
Notifications
You must be signed in to change notification settings - Fork 0
Bootstrap Wails v3 service library starter project with complete structure and tooling #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Co-authored-by: Snider <631881+Snider@users.noreply.github.com>
|
@copilot can you update the lib to be for wails alpha version |
Co-authored-by: Snider <631881+Snider@users.noreply.github.com>
|
@copilot you can create a project with: wails3 init -n myfirstapp |
Co-authored-by: Snider <631881+Snider@users.noreply.github.com>
Updated the library to be a Wails v3 service library (commit faf6d98). Changes made:
Usage: coreService := core.NewCoreService()
app := application.New(application.Options{
Services: []application.Service{
application.NewService(coreService),
},
})Run |
Co-authored-by: Snider <631881+Snider@users.noreply.github.com>
Added a section to the README showing how to create a new Wails app using The documentation now includes a complete workflow:
|
Overview
This PR transforms the empty repository into a fully-featured Wails v3 service library starter project with all the essential components needed for professional Wails application development.
What's Included
📦 Core Wails v3 Service
core.go: Wails v3 service implementation withCoreServicestructServiceName,GetVersion,Greet,Add,Multiply,Calculatev3.0.0-alpha.36🧪 Testing Infrastructure
core_test.go: Comprehensive test suite achieving 100% code coverage🎯 Example Applications
examples/demo.go: CLI demo showing service functionality without UI dependenciesexamples/main.go: Full Wails v3 application with embedded frontendexamples/frontend/index.html: Interactive web UI for service demonstrationmake example(CLI) ormake example-ui(full Wails app)🛠️ Development Tools
Makefile: Automation for common development tasks.golangci.yml: Linter configuration with sensible defaults.gitignore: Go-specific patterns to keep repository clean🔄 CI/CD Pipeline
.github/workflows/ci.yml: Automated testing workflow📚 Documentation
README.md: Comprehensive project documentationwails3 initwails.Call.ByName()📄 Legal
LICENSE: MIT License includedQuality Metrics
go vetstatic analysisgo fmtUsage
Once merged, developers can integrate this service into any Wails v3 application:
Creating a New Wails Application
Backend Integration
Frontend Calling
Development
The Makefile provides convenient commands:
This starter project provides a solid foundation that follows Wails v3 and Go community standards and best practices, ready for immediate development of Wails services.
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.